react-heatpack
react-heatpack copied to clipboard
Create some proper tests
- Use temp to create a temp directory
- Copy the contents of the
test/directory to it -
process.chdir(tempDir) - Run heatpack , wait for it to build
- Open what heatpack serves in PhantomJS and assert stuff