Skip to content

Instantly share code, notes, and snippets.

@ntzyz
Created October 11, 2017 12:25
Show Gist options
  • Select an option

  • Save ntzyz/d6ae54ea3f3850abe51c3eb5dd4d5f04 to your computer and use it in GitHub Desktop.

Select an option

Save ntzyz/d6ae54ea3f3850abe51c3eb5dd4d5f04 to your computer and use it in GitHub Desktop.
ntzyz@ntzyz-celeron ~/new-blog (git)-[test] % npm run test
> @ test /home/ntzyz/new-blog
> cross-env NODE_ENV=test nyc mocha ./test -R nyan --require babel-register --require babel-polyfill --recursive -u tdd --timeout 1000 --colors --exit
Your access token is BEYjxWJIKT7L5yH
Database connected.
Server started on port 1234
18 -_-_-_-_-_-_-_-_-_-_,------,
0 -_-_-_-_-_-_-_-_-_-_| /\_/\
0 -_-_-_-_-_-_-_-_-_-^|__( ^ .^)
-_-_-_-_-_-_-_-_-_- "" ""
18 passing (497ms)
-------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-------------------|----------|----------|----------|----------|----------------|
All files | 58.68 | 36.52 | 42.47 | 59.33 | |
new-blog | 60 | 50 | 28.57 | 61.43 | |
config.js | 100 | 100 | 100 | 100 | |
index.js | 59.46 | 50 | 28.57 | 60.87 |... 132,134,140 |
new-blog/server | 53.33 | 18.52 | 39.47 | 53.9 | |
category.js | 90 | 50 | 100 | 90 | 15,37 |
index.js | 100 | 100 | 100 | 100 | |
logs.js | 62.5 | 0 | 0 | 62.5 | 10,11,17 |
media.js | 36.84 | 0 | 0 | 37.84 |... 86,87,88,93 |
page.js | 68.33 | 50 | 100 | 68.33 |... 167,192,193 |
post.js | 20 | 0 | 0 | 20.31 |... 211,212,218 |
reply.js | 35.71 | 100 | 0 | 38.46 |... 29,35,36,38 |
tag.js | 50 | 0 | 50 | 50 |... 43,49,50,53 |
token.js | 66.67 | 0 | 0 | 66.67 | 10,11,18 |
widget.js | 71.79 | 50 | 100 | 71.79 |... 111,122,123 |
new-blog/utils | 73.68 | 54.05 | 57.14 | 74.19 | |
db.js | 85.71 | 50 | 100 | 85.71 | 13,14 |
index.js | 100 | 100 | 100 | 100 | |
logger.js | 88.89 | 100 | 100 | 88.89 | 18 |
messages.js | 100 | 100 | 100 | 100 | |
random-string.js | 100 | 0 | 100 | 100 | 5 |
render.js | 57.5 | 58.33 | 40 | 58.97 |... 59,60,63,79 |
token.js | 100 | 50 | 100 | 100 | 4,9 |
websocket.js | 72.22 | 25 | 25 | 72.22 | 13,15,16,25,31 |
-------------------|----------|----------|----------|----------|----------------|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment