Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Nov 1, 2024
1 parent 8e94968 commit 31ea069
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,3 @@ jobs:
- name: Run tests
run: |
pnpm run test
# (Optional) Step 6: Upload test results if needed
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: ./packages/**/test-results.xml
2 changes: 1 addition & 1 deletion packages/ioc/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ it('should automatic analyze deps', () => {
expect(constructorDeps[0]).toBeInstanceOf(ClassWrapper)
expect(constructorDeps[1]).toBeInstanceOf(ClassWrapper)
expect(constructorDeps[2]).toBeUndefined()
expect(constructorDeps[3]).toBeInstanceOf(ClassWrapper)
expect(constructorDeps[3]).toBeInstanceOf(Container)

const instance: FooService = classFactory.getOrCreateInstance()
expect(instance).toBeInstanceOf(FooService)
Expand Down

0 comments on commit 31ea069

Please sign in to comment.