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

Node tests #707

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
bb94e89
Update Dexie unit test utilities to work both in browsers and Node.js
aral May 28, 2018
723d74b
Update tests-all.js to add .js suffix to all imports for consistency
aral May 28, 2018
34d129c
Add initial test runner for Node.js
aral May 28, 2018
ded48ad
Add databases created while running tests, etc. to .gitignore
aral May 28, 2018
f94e8b0
Fix hasNativeAsyncFunctions assigning to constant in tests-asyncawait
aral May 28, 2018
e28ff4b
Add polyfills for Blob and FileReader (blob tests failing)
aral May 28, 2018
3ca644c
Test runner now runs all tests
aral May 28, 2018
bbf5fd2
Add npm run test:node script
aral May 28, 2018
6e80144
Cosmetic: make the test script process kill info message stand out
aral May 28, 2018
3b84849
Add test:node:pretty script for prettier TAP test output using faucet
aral May 29, 2018
8e54411
Update output to be fully TAP compliant & better demarcate test files
aral May 29, 2018
ba24f96
Convert added/modified code to the project style. Closes #2
aral May 29, 2018
3afa802
Remove redundancy in scripts
aral May 30, 2018
e26ed9b
Add ability to run specific tests
aral May 30, 2018
fd520c7
Import notEqual from QUnit into Node test env.
aral May 30, 2018
80e9081
Fix filename when .js suffix is provided in args for specific tests
aral May 30, 2018
f56cdc7
Fix Node test runner environment (import deepEqual from QUnit)
aral May 30, 2018
c1ef01a
Update tests to fix str.replace is not a function error.
aral May 30, 2018
e34a36b
Wait until the database is deleted before ending the test
aral May 30, 2018
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,9 @@ samples/typescript/utils.js.map

/.ntvs_analysis.dat
/*.njsproj

# Test databases and other artefacts under Node with IndexedDBShim (SQLite3)
# (These are deleted by the test script but may be left behind if it crashes.)
D_*
__*
test/dexie-unittest-utils-node.js
Loading