leftiness / react-demo

Other
0 stars 0 forks source link

Figure out why sinon isn't working... #50

Open leftiness opened 8 years ago

leftiness commented 8 years ago

Sinon doesn't like getting wrapped up with webpack. I don't know why. Maybe I could do something in webpack configuration to make it work, or maybe I could use something else. In the meantime, I'm just going to write a simple spy function. I don't need a lot in order to test the reservations.

leftiness commented 8 years ago

Maybe just stop using webpack to bundle tests. Instead, I could use onchange, mocha, babel cli to get the same result. I'd just get test results in the terminal instead of the browser.