Timothée Rebours
d3e201cac4
cleaner test for modes, avoid testing permissions on Windows, document that it will not work on Windows, add typings tests
3 years ago
Timothée Rebours
3ec81d3f32
use unlink instead of rm for node 12
3 years ago
Timothée Rebours
ba0ee21c03
add a mode option
3 years ago
Timothée Rebours
bf5e5e2218
fix setAutocompaction interval type check + test
...
simpler check for errors in tests
3 years ago
Timothée Rebours
8c3aac5042
fix MR comments
3 years ago
Timothée Rebours
ebda00b8d2
give the corruptionRate when there is an error
3 years ago
Timothée Rebours
df358b91a6
update readme to include mention of nedb-promises & bump reloadTimeUpperBound to avoid tests failing randomly
3 years ago
Timothée Rebours
2c2af50841
update readme, persistence tests and typings
3 years ago
Timothée Rebours
a17662a66b
update JSDoc, readme, remove jquery and jsdoc from dependencies, remove sources from jsdoc.conf.js which conflicts with --files from jsdoc2md, implement dropDatabase & tests
3 years ago
Timothée Rebours
dbcc3647d1
repair race condition in tests + improve docs
3 years ago
Timothée Rebours
32cff9b921
huge cleanup
3 years ago
Timothée Rebours
fab5b0336b
rewrite Readme
3 years ago
Timothée Rebours
a2528ee45e
jsdoc
3 years ago
Timothée Rebours
db2da8a1e0
lint
3 years ago
Timothée Rebours
fa9b1b1305
persistence async tests
3 years ago
Timothée Rebours
787904d3ef
executor async tests
3 years ago
Timothée Rebours
32d2fa14a5
async tests for cursor
3 years ago
Timothée Rebours
ba65fbe9b6
Added tests for async version of datastore
3 years ago
Timothée Rebours
dd7c3c62d4
linting
3 years ago
Timothée Rebours
2ad5759d7e
remove async dependency
3 years ago
Timothée Rebours
fbf2bd8d68
WIP: rewrite executor without async
3 years ago
Timothée Rebours
5a4859c3ba
WIP: Successfully replace a waterfall with native async/await
3 years ago
Arne Wendt
fde8d3f3c8
storage.js: check fsync capability from return code rather than using `process.platform` heuristics
...
- silently accept (in)capability to fsync directories based on actual storage backend/driver behavior and capabilities; evaluate error codes rather than `process.platform` heuristics
- make byline test run with windows line endings to validate storage behavior on windows
- add shebang in EMFILE exhaustion test
3 years ago
Timothée Rebours
52133bd968
error with default import
3 years ago
Timothée Rebours
44ae8d7029
react-native version
3 years ago
mehdi
2230f6c1e4
jsdoc details + timeout
3 years ago
eliot-akira
823db2a17e
assert.deepStrictEqual instead of deepEqual
3 years ago
eliot-akira
0af674de2c
Tests: Simplify getting local paths for test files
3 years ago
eliot-akira
225fe0fa3b
Adapt tests from byline: Lint; Use assert from chai; Local paths for test files
3 years ago
eliot-akira
575f46c6ce
Include tests for byline
3 years ago
eliot-akira
a826a9c3e0
Align behavior of treatRawData and treatRawStream in handling last blank line; On error, result is null
3 years ago
eliot-akira
1cd3381c20
Handle error: For this test, it is expected to be *not* null
3 years ago
eliot-akira
143a08edde
Remove console.log from test
3 years ago
eliot-akira
e6388c2782
Test: Assert error is null
3 years ago
eliot-akira
842f3e9f2b
Lint: Formatting
3 years ago
eliot-akira
f3f625276b
Restore original tests for non-streaming method treatRawData
3 years ago
eliot-akira
a67622dcf7
Stream files line by line when parsing to avoid memory limits
...
Based on https://github.com/louischatriot/nedb/pull/463
3 years ago
Timothée Rebours
5c6561307d
remove underscore
4 years ago
Timothée Rebours
a4cd69f5c6
re-make the build process with webpack, swicth to Karma for the browser tests, bumps all dependencies except , remove bower.json, remove browser build from repo (will be published on npm though)
4 years ago
Timothée Rebours
185ae680b8
standard everything except browser-version
4 years ago
Louis Chatriot
0eeca73bb0
Can pick type project on embedded documents
9 years ago
Louis Chatriot
fae4504793
Can use omit projections on nested documents
9 years ago
Louis Chatriot
e3f0078499
Do not create recursively nested objects for modifier
9 years ago
Louis Chatriot
9e07cedd18
Fixed edge case behavior where falsy fields where followed by dot notation
9 years ago
Louis Chatriot
4adf9c8491
Clean update callback signature and tests
9 years ago
Louis Chatriot
65cc00b6d4
createdAt kept during any kind of update
9 years ago
Louis Chatriot
81f2c641c8
All tests pass
9 years ago
Louis Chatriot
41827a51e1
Last necessary test
9 years ago
Félicien FRANCOIS
2264600955
Added tests for falsy callback
...
See #372
9 years ago
Louis Chatriot
58edd6e407
Sticking to style
9 years ago