Skip to content

Commit

Permalink
Fix: Min updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Villarley committed Dec 22, 2024
1 parent c824aa0 commit f2bfabb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Set Environment Variables
run: echo "NODE_ENV=test" >> $GITHUB_ENV

- name: Run Tests
run: npm test
2 changes: 1 addition & 1 deletion src/tests/services/testService.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { setupTestDB, teardownTestDB } from "../../utils/test-utils";
import { testDataSource } from "../../config/ormconfig.test";
import testDataSource from "../../config/ormconfig.test";
import { TestService } from "../../services/test.service";
import { TestEntity } from "../../entities/testEntity";

Expand Down
2 changes: 1 addition & 1 deletion src/tests/services/userService.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { setupTestDB, teardownTestDB } from "../../utils/test-utils";
import { testDataSource } from "../../config/ormconfig.test";
import testDataSource from "../../config/ormconfig.test";
import { UserService } from "../../services/User.service";
import { User } from "../../entities/User";

Expand Down

0 comments on commit f2bfabb

Please sign in to comment.