Skip to content

Commit 9bc70a0

Browse files
committed
chore: the exit bug, quashed
1 parent 99dd334 commit 9bc70a0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "tsc",
88
"format": "npx prettier --write '*.?s' 'test/*.?s'",
99
"lint": "eslint '*.?s' 'test/*.?s'",
10-
"test": "jest --detectOpenHandles --forceExit",
10+
"test": "jest --detectOpenHandles",
1111
"semantic-release": "semantic-release",
1212
"prepare": "npm run build"
1313
},

test/smoke.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ beforeAll(async () => {
2424
await User.sync({ force: true });
2525
});
2626

27+
afterAll(async () => {
28+
sequelize.close();
29+
});
30+
2731
test('should save an encrypted field', async () => {
2832
const user: any = User.build();
2933
user.private_1 = 'test';

0 commit comments

Comments
 (0)