├── .gitignore ├── README.md ├── config ├── env.js ├── jest │ ├── cssTransform.js │ └── fileTransform.js ├── paths.js ├── polyfills.js ├── webpack.config.dev.js ├── webpack.config.prod.js └── webpackDevServer.config.js ├── package.json ├── public ├── favicon.ico ├── index.html └── manifest.json ├── scripts ├── build.js ├── start.js └── test.js ├── src ├── App.css ├── App.js ├── Money.js ├── Money.test.js ├── MoneyRange.js ├── MoneyRange.test.js ├── currency-data.js ├── currency-data.test.js ├── format-currency.js ├── format-currency.test.js ├── index.css ├── index.js ├── logo.svg └── registerServiceWorker.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/README.md -------------------------------------------------------------------------------- /config/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/env.js -------------------------------------------------------------------------------- /config/jest/cssTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/jest/cssTransform.js -------------------------------------------------------------------------------- /config/jest/fileTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/jest/fileTransform.js -------------------------------------------------------------------------------- /config/paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/paths.js -------------------------------------------------------------------------------- /config/polyfills.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/polyfills.js -------------------------------------------------------------------------------- /config/webpack.config.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/webpack.config.dev.js -------------------------------------------------------------------------------- /config/webpack.config.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/webpack.config.prod.js -------------------------------------------------------------------------------- /config/webpackDevServer.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/config/webpackDevServer.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/public/index.html -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/public/manifest.json -------------------------------------------------------------------------------- /scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/scripts/build.js -------------------------------------------------------------------------------- /scripts/start.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/scripts/start.js -------------------------------------------------------------------------------- /scripts/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/scripts/test.js -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/App.js -------------------------------------------------------------------------------- /src/Money.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/Money.js -------------------------------------------------------------------------------- /src/Money.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/Money.test.js -------------------------------------------------------------------------------- /src/MoneyRange.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/MoneyRange.js -------------------------------------------------------------------------------- /src/MoneyRange.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/MoneyRange.test.js -------------------------------------------------------------------------------- /src/currency-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/currency-data.js -------------------------------------------------------------------------------- /src/currency-data.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/currency-data.test.js -------------------------------------------------------------------------------- /src/format-currency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/format-currency.js -------------------------------------------------------------------------------- /src/format-currency.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/format-currency.test.js -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/src/registerServiceWorker.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javascript-playground/react-refactoring-with-tests/HEAD/yarn.lock --------------------------------------------------------------------------------