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]
|
const arg = process.argv[2]
|
||||||
|
|
||||||
if (typeof arg === 'undefined') {
|
if (typeof arg === 'undefined') {
|
||||||
@ -19,7 +19,7 @@ if (typeof arg === 'undefined') {
|
|||||||
console.log('')
|
console.log('')
|
||||||
console.log('There are no other arguments or options. Make an issue if you encounter a bug or want')
|
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.')
|
console.log('some feature to be implemented. Merge requests are welcome as well.')
|
||||||
return
|
process.exit()
|
||||||
}
|
}
|
||||||
|
|
||||||
const english = require('./en.json')
|
const english = require('./en.json')
|
@ -9,5 +9,5 @@ testsContext.keys().forEach(testsContext)
|
|||||||
// require all src files except main.js for coverage.
|
// require all src files except main.js for coverage.
|
||||||
// you can also change this to match only the subset of files that
|
// you can also change this to match only the subset of files that
|
||||||
// you want coverage for.
|
// you want coverage for.
|
||||||
const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
|
// const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
|
||||||
srcContext.keys().forEach(srcContext)
|
// srcContext.keys().forEach(srcContext)
|
||||||
|
@ -9,7 +9,7 @@ const mockTouchEvent = (x, y) => ({
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
describe.only('GestureService', () => {
|
describe('GestureService', () => {
|
||||||
describe('swipeGesture', () => {
|
describe('swipeGesture', () => {
|
||||||
it('calls the callback on a successful swipe', () => {
|
it('calls the callback on a successful swipe', () => {
|
||||||
let swiped = false
|
let swiped = false
|
||||||
|
Loading…
Reference in New Issue
Block a user