Skip to content

orhanveli/react-offline-test

 
 

Repository files navigation

React Offline Test

Packages installed

- npm i @types/react -D
- npm i @types/react-dom -D
- npm i css-loader -D
- npm i ts-loader -D
- npm i file-loader -D
- npm i date-fns
- npm i enzyme enzyme-adapter-react-16 react-test-renderer enzyme-to-json -D
- npm i @types/enzyme -D

Webpack config changes

  • adding .ts to webpack.config.js for transpilation. There was no config for ts(x) files

e2e Integration Tests

For e2e test, cypress has been configured. To run the integration test:

npm run e2e

unit tests

Jest and enzyme have been used for unit test purpose. For start test in watch mode

npm run test:watch

About

Short React technical test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.2%
  • JavaScript 22.1%
  • CSS 4.7%
  • HTML 2.0%