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

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