You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ react-antd-admin git:(master) ✗ npm run test
> react-antd-admin@0.1.3 test /home/geek/workspace/reactwp/react-antd-admin
> mocha tests/.setup.js tests/**/*-test.js --compilers css:mocha-compiler.js
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
module.js:487
throw err;
^
Error: Cannot find module '../src/components/Header/Header'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/geek/workspace/reactwp/react-antd-admin/tests/Header-test.js:4:1)
at Module._compile (module.js:569:30)
at loader (/home/geek/workspace/reactwp/react-antd-admin/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/geek/workspace/reactwp/react-antd-admin/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at /home/geek/workspace/reactwp/react-antd-admin/node_modules/mocha/lib/mocha.js:230:27
at Array.forEach (native)
at Mocha.loadFiles (/home/geek/workspace/reactwp/react-antd-admin/node_modules/mocha/lib/mocha.js:227:14)
at Mocha.run (/home/geek/workspace/reactwp/react-antd-admin/node_modules/mocha/lib/mocha.js:495:10)
at Object.<anonymous> (/home/geek/workspace/reactwp/react-antd-admin/node_modules/mocha/bin/_mocha:469:18)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-antd-admin@0.1.3 test: `mocha tests/.setup.js tests/**/*-test.js --compilers css:mocha-compiler.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-antd-admin@0.1.3 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in
The text was updated successfully, but these errors were encountered:
Total output is:
The text was updated successfully, but these errors were encountered: