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.
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.
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.