Skip to content

Commit

Permalink
Merge pull request #143 from AthennaIO/develop
Browse files Browse the repository at this point in the history
feat(sleep): add new sleep helper
  • Loading branch information
jlenon7 authored Jan 22, 2025
2 parents bf7609d + 778e6bc commit 0e66773
Show file tree
Hide file tree
Showing 58 changed files with 2,244 additions and 438 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
- name: Install dependencies
run: npm install

- name: Link project to be able to use @athenna/test
- name: Create link from package
run: npm link

- name: Link package on itself to be able to use @athenna/test
run: npm link @athenna/common

- name: Run tests
Expand All @@ -52,7 +55,10 @@ jobs:
- name: Install dependencies
run: npm install

- name: Link project to be able to use @athenna/test
- name: Create link from package
run: npm link

- name: Link package on itself to be able to use @athenna/test
run: npm link @athenna/common

- name: Run tests
Expand Down
2 changes: 2 additions & 0 deletions bin/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
*/

import { Runner } from '@athenna/test'
import { expectTypeOf } from '@japa/expect-type'

await Runner.setTsEnv()
.addAssertPlugin()
.addPlugin(expectTypeOf())
.addPath('tests/unit/**/*.ts')
.setCliArgs(process.argv.slice(2))
.setGlobalTimeout(5000)
Expand Down
Loading

0 comments on commit 0e66773

Please sign in to comment.