Skip to content

mrsonmez10/refactoring-2nd-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refactoring 2nd edition tutorial source codes

Technologies

Build & Run

You need to download node first!

node init
npm install --save-dev mocha chai babel-register babel-preset-es201

Open up package.json and set your test script to the following: "scripts": { "test": "mocha --watch --recursive --require babel-core/register" }, Create a .babelrc file in the project directory:

{
  "presets": ["es2015"]
}

Run tests

Project consist of lost of module so dont try to run "npm run test" in root directory in project instead of this Try with js file name. Example

npm run test .\test\chapter06\content01\printOwingV04Final.test.js

About

Refactoring 2nd edition tutorial source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published