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 tests seem to be failing #88

Open
firefly2442 opened this issue Nov 25, 2017 · 0 comments
Open

4 tests seem to be failing #88

firefly2442 opened this issue Nov 25, 2017 · 0 comments

Comments

@firefly2442
Copy link
Contributor

Tested on Linux.

Run npm t:

Cursor
Without sorting
1) "before each" hook

Database
Insert
2) "before each" hook

Modifying documents
3) Throw an error if a modifier is used with a non-object argument
$set modifier

Schema
Indexing
4) "before each" hook

129 passing (138ms)
4 failing

  1. Cursor
    "before each" hook:
    Uncaught InitializationError: Must provide db
    at new LevelUP (node_modules/levelup/lib/levelup.js:49:13)
    at LevelUP (node_modules/levelup/lib/levelup.js:33:12)
    at Function.Model.initStore (lib/model.js:79:100)
    at new Model (lib/model.js:52:35)
    at test/cursor.test.js:27:13
    at nextTask (node_modules/async/dist/async.js:5310:14)
    at next (node_modules/async/dist/async.js:5317:9)
    at node_modules/async/dist/async.js:958:16
    at next (node_modules/rimraf/rimraf.js:75:7)
    at CB (node_modules/rimraf/rimraf.js:111:9)
    at node_modules/rimraf/rimraf.js:137:14
    at FSReqWrap.oncomplete (fs.js:82:15)

  2. Database
    "before each" hook:
    Uncaught InitializationError: Must provide db
    at new LevelUP (node_modules/levelup/lib/levelup.js:49:13)
    at LevelUP (node_modules/levelup/lib/levelup.js:33:12)
    at Function.Model.initStore (lib/model.js:79:100)
    at new Model (lib/model.js:52:35)
    at test/db.test.js:34:13
    at nextTask (node_modules/async/dist/async.js:5310:14)
    at next (node_modules/async/dist/async.js:5317:9)
    at node_modules/async/dist/async.js:958:16
    at next (node_modules/rimraf/rimraf.js:75:7)
    at CB (node_modules/rimraf/rimraf.js:111:9)
    at node_modules/rimraf/rimraf.js:137:14
    at FSReqWrap.oncomplete (fs.js:82:15)

  3. Document
    Modifying documents
    Throw an error if a modifier is used with a non-object argument:
    AssertionError: expected [Function] to throw an error
    at Context. (test/document.test.js:352:22)

  4. Schema
    "before each" hook:
    Uncaught InitializationError: Must provide db
    at new LevelUP (node_modules/levelup/lib/levelup.js:49:13)
    at LevelUP (node_modules/levelup/lib/levelup.js:33:12)
    at Function.Model.initStore (lib/model.js:79:100)
    at new Model (lib/model.js:52:35)
    at test/schema.test.js:29:13
    at nextTask (node_modules/async/dist/async.js:5310:14)
    at next (node_modules/async/dist/async.js:5317:9)
    at node_modules/async/dist/async.js:958:16
    at next (node_modules/rimraf/rimraf.js:75:7)
    at CB (node_modules/rimraf/rimraf.js:111:9)
    at node_modules/rimraf/rimraf.js:137:14
    at FSReqWrap.oncomplete (fs.js:82:15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant