aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/i18n/compare (renamed from src/i18n/compare.js)4
-rw-r--r--test/unit/index.js4
-rw-r--r--test/unit/specs/services/gesture_service/gesture_service.spec.js2
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