Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Rails & Rspec

04 Jul 2019 » rails, react, commandcenter

Testing any application is critical. I often do not test my proof-of-concept projects. I haven’t fully configured testing for my current project! If you have any ideas or easy way to implement a javascript testing framework, let me know down in the comments. I am actively looking for a better way to test.

Testing

Backend:

Frontend:

  • chai, enzyme, and mocha - links to documentation - ./app/javascript/packs/test/

  • Using npm test should work after building the node_modules folder. Also the script should work as well, ./node_modules/mocha-webpack/bin/mocha-webpack --webpack-config ./config/webpack/test.js ./app/javascript/packs/setupTests.js ./app/javascript/packs/test

© Jack Moore