diff --git a/.travis.yml b/.travis.yml index 3f2ca9d..d865c16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ jobs: include: - stage: release node_js: lts/* - script: skip deploy: provider: script skip_cleanup: true diff --git a/src/mock-query-executor.test.ts b/src/mock-query-executor.test.ts index 3fd8f37..ec7813e 100644 --- a/src/mock-query-executor.test.ts +++ b/src/mock-query-executor.test.ts @@ -5,7 +5,7 @@ const tables = { } it('can mock query', async () => { - const queryExecutor = new MockQueryExecutor(tables) + const queryExecutor = new MockQueryExecutor() const exampleQuery = queryExecutor.createQuery<{}, number[]>(async ({}) => { throw new Error('Should not be called') }) @@ -22,7 +22,7 @@ it('can mock query', async () => { }) it('can match specific query args', async () => { - const queryExecutor = new MockQueryExecutor(tables) + const queryExecutor = new MockQueryExecutor() const exampleQuery = queryExecutor.createQuery<{ param: string }, number>( async ({}) => { throw new Error('Should not be called')