diff options
| author | Henry Jameson <me@hjkos.com> | 2019-04-13 18:28:50 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-04-13 18:28:50 +0300 |
| commit | fd171da0dc6ee8404278ba4083a28cc01d724040 (patch) | |
| tree | 21e2cffe3cfeebe699b4bd83a865d580ff1a38f9 | |
| parent | 77db9c5c698189d8d33685f553c1b0769fa3da9a (diff) | |
attempt at making it work
| -rwxr-xr-x | src/i18n/compare (renamed from src/i18n/compare.js) | 4 | ||||
| -rw-r--r-- | test/unit/index.js | 4 | ||||
| -rw-r--r-- | test/unit/specs/services/gesture_service/gesture_service.spec.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/i18n/compare.js b/src/i18n/compare index e9314376..69cbe112 100755 --- a/src/i18n/compare.js +++ b/src/i18n/compare @@ -1,4 +1,4 @@ -#!/usr/bin/env node +//#!/usr/bin/env node const arg = process.argv[2] if (typeof arg === 'undefined') { @@ -19,7 +19,7 @@ if (typeof arg === 'undefined') { console.log('') console.log('There are no other arguments or options. Make an issue if you encounter a bug or want') console.log('some feature to be implemented. Merge requests are welcome as well.') - return + process.exit() } const english = require('./en.json') diff --git a/test/unit/index.js b/test/unit/index.js index 03b19e32..642099db 100644 --- a/test/unit/index.js +++ b/test/unit/index.js @@ -9,5 +9,5 @@ testsContext.keys().forEach(testsContext) // require all src files except main.js for coverage. // you can also change this to match only the subset of files that // you want coverage for. -const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/) -srcContext.keys().forEach(srcContext) +// const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/) +// srcContext.keys().forEach(srcContext) diff --git a/test/unit/specs/services/gesture_service/gesture_service.spec.js b/test/unit/specs/services/gesture_service/gesture_service.spec.js index 4a1b009a..a91f95db 100644 --- a/test/unit/specs/services/gesture_service/gesture_service.spec.js +++ b/test/unit/specs/services/gesture_service/gesture_service.spec.js @@ -9,7 +9,7 @@ const mockTouchEvent = (x, y) => ({ ] }) -describe.only('GestureService', () => { +describe('GestureService', () => { describe('swipeGesture', () => { it('calls the callback on a successful swipe', () => { let swiped = false |
