Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

UnhandledPromiseRejectionWarning on run test #30

Closed
juanpicado opened this issue Jul 18, 2018 · 0 comments
Closed

UnhandledPromiseRejectionWarning on run test #30

juanpicado opened this issue Jul 18, 2018 · 0 comments
Assignees
Labels

Comments

@juanpicado
Copy link
Member

No errors!


(node:56355) DeprecationWarning: "--compilers" will be removed in a future version of Mocha; see https://git.io/vdcSr for more info
(node:56355) ExperimentalWarning: The fs.promises API is experimental
  testing locking
    ✓ file should be found to be locked
    ✓ file should fail to be found to be locked
    ✓ file should to be found to be unLock
    ✓ read file with no options should to be found to be read it as string
    ✓ read file with no options should to be found to be read it as object
    ✓ read file with options (parse) should to be not found to be read it
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
    at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:72:14
    at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:56355) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    ✓ read file with options should to be found to be read it and fails to be parsed
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
    at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:85:14
    at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
    ✓ read file with  options (parse, lock) should to be found to be read it as object
    ✓ read file with options (parse, lock) should to be found to be read it and fails to be parsed
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
    at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:114:14
    at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)


  9 passing (211ms)

✨  Done in 4.63s.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants