Jakob Linskeseder
e534a911f3
Upgrade prettier to v2
...
Prettier v2 has the following breaking changes:
* enforces spaces between `function` and params
* enforces trailing commas by default
2022-10-29 21:49:15 +02:00
Nils Knappmeier
3fb331ef40
style: reformat all files using prettier
2019-12-03 22:39:17 +01:00
Nils Knappmeier
93516a0b07
test: add sinon.js for spies, deprecate current assertions
...
- the goal is to get overall cleaner test.
- chai and sinon are standard libraries for testing
assertions and spies. We should not use custom ones.
2019-11-15 16:38:28 +01:00
Nils Knappmeier
93e284ed9b
chore: add chai and dirty-chai for better test assertions
2019-11-15 16:38:28 +01:00
kpdecker
0aef72cb8e
Update to latest eslint
2015-09-01 17:56:32 -05:00
kpdecker
e3d3eda2e1
Add full support for es6
...
Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions.
Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules.
Fixes #855
Fixes #993
2015-04-16 16:43:01 -05:00
kpdecker
607748af3b
Add better logging of test compile errors
2014-01-06 02:45:10 -06:00
kpdecker
6f94fc0a3b
Reduce eval scope in test env
2013-10-14 22:49:23 -05:00
kpdecker
3b0a3ca1b2
Fix test runners under node
2013-10-09 03:22:05 -07:00
kpdecker
fd09ff0e1b
Expose current Handlebars namespace fields
2013-10-01 21:41:09 -05:00
kpdecker
a2687fdf50
Fix cjs output and testing
2013-09-02 18:19:37 -05:00
Yehuda Katz
5f664dd78b
Make the Handlebars environment into an object
...
The idea is that the environment wraps up the mutable stuff in
Handlebars (like the helpers) and that you could theoretically create a
new one at any time and pass it in to Handlebars.template.
Every test makes a new environment and uses it in template compilation.
2013-07-26 16:50:37 +00:00
Yehuda Katz
f5c8484ea0
Further progress towards modularization.
...
At this point, I have only 2 fails in the Node build, but I'm doing a
bunch of manual stuff locally and still have a bunch of hacks.
2013-07-24 05:03:27 +00:00
kpdecker
adda0569e0
Refactor qunit unit tests
...
Allows for testing node, browser, and precompiled modes in the node
tests. Also reorganizes the qunit spec file to provide better
organization.
2013-06-01 23:45:43 -05:00