todomvc-react-tdd:使用React和TDD构建的TodoMVC

时间:2021-05-18 06:42:38
【文件属性】:
文件名称:todomvc-react-tdd:使用React和TDD构建的TodoMVC
文件大小:1.5MB
文件格式:ZIP
更新时间:2021-05-18 06:42:38
JavaScript 调试验收测试 观看浏览器 运行npm run test:acceptance:debug ,当您开始看到test命令的输出时,使用密码secret连接到vnc://localhost:5900 。 坐下来,享受浏览器做事的速度太快,以至于您无法真正理解正在发生的事情。 调试页面 在您的测试中添加browser.debug()并运行npm run test:acceptance:debug 。 您将获得一个REPL,您可以在其中访问全局browser实例。 调试测试 在您的测试中添加browser.debug()并运行npm run test:acceptance:debug 。 在REPL上时,请在浏览器中打开调试URL,设置断点,然后在REPL中键入.exit以继续在Chrome DevTools中进行调试。
【文件预览】:
todomvc-react-tdd-master
----.babelrc(190B)
----docs()
--------debugging-acceptance-tests.gif(1.51MB)
----package.json(3KB)
----tools()
--------install-git-hooks.sh(124B)
--------git-hooks()
----.nycrc(271B)
----Dockerfile(18B)
----tests()
--------acceptance()
--------unit()
--------dev-server.js(993B)
--------.eslintrc.js(221B)
--------helpers()
----index.html(276B)
----src()
--------index.jsx(158B)
--------app-factory.js(459B)
--------components()
--------webpack.config.dev.js(774B)
--------lib()
----.eslintrc.js(2KB)
----.gitignore(67B)
----.dockerignore(21B)
----README.md(814B)
----.eslintignore(31B)

网友评论