Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lguardiola/679d0dfc791160e647ee07ae38e1299c to your computer and use it in GitHub Desktop.
Save lguardiola/679d0dfc791160e647ee07ae38e1299c to your computer and use it in GitHub Desktop.
lguardiola@MacBook-Pro:~/Code/intern-examples/react-example|master
⇒ npm test
> [email protected] test /Users/lguardiola/Code/intern-examples/react-example
> intern-runner config=tests/intern
PASS: main - todoModel - default data (2ms)
PASS: main - todoModel - complete (empty model) (2ms)
0/2 tests failed
PASS: main - footer - construction (1ms)
PASS: main - footer - render (3ms)
0/2 tests failed
0/4 tests failed
-------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
-------------------|-----------|-----------|-----------|-----------|
js/ | 74.58 | 66.67 | 47.62 | 75.86 |
todoModel.js | 61.11 | 16.67 | 37.5 | 62.86 |
utils.js | 95.65 | 80.95 | 80 | 95.65 |
-------------------|-----------|-----------|-----------|-----------|
All files | 74.58 | 66.67 | 47.62 | 75.86 |
-------------------|-----------|-----------|-----------|-----------|
PASS: main - todoModel - default data (3ms)
PASS: main - todoModel - complete (empty model) (4ms)
0/2 tests failed
PASS: main - footer - construction (3ms)
PASS: main - footer - render (1ms)
0/2 tests failed
0/4 tests failed
-------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
-------------------|-----------|-----------|-----------|-----------|
js/ | 74.58 | 66.67 | 47.62 | 75.86 |
todoModel.js | 61.11 | 16.67 | 37.5 | 62.86 |
utils.js | 95.65 | 80.95 | 80 | 95.65 |
-------------------|-----------|-----------|-----------|-----------|
All files | 74.58 | 66.67 | 47.62 | 75.86 |
-------------------|-----------|-----------|-----------|-----------|
FAIL: main - Todo (functional) - submit form (1196ms)
Error: [POST http://localhost:4444/wd/hub/session/4595b7c867f42858abc9970d8ed7fe73/keys] read ECONNRESET
Error: read ECONNRESET
at exports._errnoException <util.js:1007:11>
at TCP.onread <net.js:563:26>
at new CompatCommand <node_modules/intern/runner.js:213:14>
at <CompatCommand.target.(anonymous function) [as pressKeys] (/Users/lguardiola/Code/intern-examples/react-example/node_modules/leadfoot/Command.js:592:11)>
at CompatCommand.keys <node_modules/leadfoot/compat.js:25:25>
at Test.registerSuite.submit form [as test] <tests/functional/Todo.js:18:6>
at Test.run <node_modules/intern/lib/Test.js:169:19>
at <node_modules/intern/lib/Suite.js:237:13>
at signalListener <node_modules/intern/node_modules/dojo/Deferred.js:37:21>
at Promise.then.promise.then <node_modules/intern/node_modules/dojo/Deferred.js:258:5>
at runTest <node_modules/intern/lib/Suite.js:236:46>
at <node_modules/intern/lib/Suite.js:249:7>
at new CompatCommand <node_modules/intern/runner.js:213:14>
at <CompatCommand.target.(anonymous function) [as pressKeys] (/Users/lguardiola/Code/intern-examples/react-example/node_modules/leadfoot/Command.js:592:11)>
at CompatCommand.keys <node_modules/leadfoot/compat.js:25:25>
at Test.registerSuite.submit form [as test] <tests/functional/Todo.js:19:6>
at Test.run <node_modules/intern/lib/Test.js:169:19>
at <node_modules/intern/lib/Suite.js:237:13>
at signalListener <node_modules/intern/node_modules/dojo/Deferred.js:37:21>
at Promise.then.promise.then <node_modules/intern/node_modules/dojo/Deferred.js:258:5>
at runTest <node_modules/intern/lib/Suite.js:236:46>
at <node_modules/intern/lib/Suite.js:249:7>
at new CompatCommand <node_modules/intern/runner.js:213:14>
at <CompatCommand.target.(anonymous function) [as pressKeys] (/Users/lguardiola/Code/intern-examples/react-example/node_modules/leadfoot/Command.js:592:11)>
at CompatCommand.keys <node_modules/leadfoot/compat.js:25:25>
at Test.registerSuite.submit form [as test] <tests/functional/Todo.js:20:6>
at Test.run <node_modules/intern/lib/Test.js:169:19>
at <node_modules/intern/lib/Suite.js:237:13>
at signalListener <node_modules/intern/node_modules/dojo/Deferred.js:37:21>
at Promise.then.promise.then <node_modules/intern/node_modules/dojo/Deferred.js:258:5>
at runTest <node_modules/intern/lib/Suite.js:236:46>
at <node_modules/intern/lib/Suite.js:249:7>
at new CompatCommand <node_modules/intern/runner.js:213:14>
at <CompatCommand.target.(anonymous function) [as getProperty] (/Users/lguardiola/Code/intern-examples/react-example/node_modules/leadfoot/Command.js:656:11)>
at Test.registerSuite.submit form [as test] <tests/functional/Todo.js:21:6>
at Test.run <node_modules/intern/lib/Test.js:169:19>
at <node_modules/intern/lib/Suite.js:237:13>
at signalListener <node_modules/intern/node_modules/dojo/Deferred.js:37:21>
at Promise.then.promise.then <node_modules/intern/node_modules/dojo/Deferred.js:258:5>
at runTest <node_modules/intern/lib/Suite.js:236:46>
at <node_modules/intern/lib/Suite.js:249:7>
at _combinedTickCallback <internal/process/next_tick.js:67:7>
at process._tickCallback <internal/process/next_tick.js:98:9>
at new CompatCommand <node_modules/intern/runner.js:213:14>
at CompatCommand.Command.then <node_modules/leadfoot/Command.js:525:10>
at Test.registerSuite.submit form [as test] <tests/functional/Todo.js:22:6>
at Test.run <node_modules/intern/lib/Test.js:169:19>
at <node_modules/intern/lib/Suite.js:237:13>
at signalListener <node_modules/intern/node_modules/dojo/Deferred.js:37:21>
at Promise.then.promise.then <node_modules/intern/node_modules/dojo/Deferred.js:258:5>
at runTest <node_modules/intern/lib/Suite.js:236:46>
at <node_modules/intern/lib/Suite.js:249:7>
at _combinedTickCallback <internal/process/next_tick.js:67:7>
at process._tickCallback <internal/process/next_tick.js:98:9>
1/1 tests failed
1/5 tests failed
-------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
-------------------|-----------|-----------|-----------|-----------|
js/ | 62.71 | 66.67 | 47.62 | 62.07 |
todoModel.js | 58.33 | 16.67 | 37.5 | 57.14 |
utils.js | 69.57 | 80.95 | 80 | 69.57 |
-------------------|-----------|-----------|-----------|-----------|
All files | 62.71 | 66.67 | 47.62 | 62.07 |
-------------------|-----------|-----------|-----------|-----------|
PASS: main - Todo (functional) - submit form (1347ms)
0/1 tests failed
0/5 tests failed
-------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
-------------------|-----------|-----------|-----------|-----------|
js/ | 62.71 | 70.37 | 47.62 | 62.07 |
todoModel.js | 58.33 | 16.67 | 37.5 | 57.14 |
utils.js | 69.57 | 85.71 | 80 | 69.57 |
-------------------|-----------|-----------|-----------|-----------|
All files | 62.71 | 70.37 | 47.62 | 62.07 |
-------------------|-----------|-----------|-----------|-----------|
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment