attempt at making it work
This commit is contained in:
parent
77db9c5c69
commit
fd171da0dc
|
@ -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')
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue