Closed daxfohl closed 8 years ago
@grassick A few questions:
designSchema.coffee
isn't updated. I'm pretty sure I see the pattern and what needs to be done, but would like to understand what it does.Hi Dax,
Yes please on the redo without whitespace changes if it's not too much trouble. As for unit tests, you can use sinon which let's you take over the clock and move it ahead fixed amounts with no DI. We have unit tests for all other answers, so probably a good idea. But keep it simple and minimal. More just a smoke-check.
designSchema is a JSON-schema validation for the form design that is run on the server to make sure no invalid forms are submitted.
Let me know when you have the whitespace changes done and we'll have another look at the PR?
@grassick Here's a quick update. Gotta run and get the kid but I'm hoping the code is self-explanatory. Sorry about the whitespace changes. I'll figure out how to prevent those in my editor.