attempt at making it work

This commit is contained in:
Henry Jameson 2019-04-13 18:28:50 +03:00
parent 77db9c5c69
commit fd171da0dc
3 changed files with 5 additions and 5 deletions

View file

@ -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')

View file

@ -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)

View file

@ -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