Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0-alpha.3 - Reproduce: Node.js process not exiting when Dexie.js is imported #1576

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ before_install: if [[ `npm -v` != 7* ]]; then npm i -g npm@7; fi
addons:
firefox: "85.0"
node_js:
- "12"
- "18"
matrix:
fast_finish: true
services:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"test": "npm run build && npm run test:typings && npm run test:unit",
"test:unit": "karma start test/karma.conf.js --single-run",
"test:typings": "tsc -p test/typings-test/",
"test:debug": "karma start test/karma.conf.js --log-level debug"
"test:debug": "karma start test/karma.conf.js --log-level debug",
"test:standalone": "node test/test-standalone.js"
},
"just-build": {
"default": [
Expand Down
6 changes: 6 additions & 0 deletions test/test-standalone.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* Just importing the Dexie.js library
* should not prevent a Node.js process from exiting.
*/
const { Dexie } = require('../');
console.dir(Dexie);
1 change: 1 addition & 0 deletions test/travis.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash -e
npm run test:typings
npm run test:unit
npm run test:standalone