Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix: fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fox1t committed Mar 7, 2020
1 parent 0752456 commit 2d84527
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
project: ['./tsconfig.json', './test/tsconfig.json'],
tsconfigRootDir: './',
},
plugins: ['@typescript-eslint', 'prettier'],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
npm run build
- name: Run tests
run: |
npm run test:ci
npm run test
yarn:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -56,4 +56,4 @@ jobs:
yarn build
- name: Run tests
run: |
yarn test:ci
yarn test
5 changes: 5 additions & 0 deletions test/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { test } from 'tap'

test('default root route', async (t: any) => {
t.deepEqual('placeholder', 'placeholder')
})
5 changes: 5 additions & 0 deletions typings/tap/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// improve tap typings and publish them on @types/tap

declare module 'tap' {
function test(description: string, t: unknown): unknown
}

0 comments on commit 2d84527

Please sign in to comment.