aboutsummaryrefslogtreecommitdiff
path: root/test/run-tests.js
AgeCommit message (Expand)Author
2016-01-14Never mangle arguments and keep them in their scope...Fixes #892 Helped-by: kzc Anthony Van de Gejuchte
2015-12-27Add mocha testsAnthony Van de Gejuchte
2015-11-12Replace util.error with console.logMihai Bazon
2015-10-28Allow specification beautify options in tests...Caught an error in #847 as well - `output` wasn't passed anywhere which led to an exception. `options` was available though. Richard van Velzen
2015-10-20Fix #836Fábio Santos
2015-10-12Fix testsMihai Bazon
2015-08-05Fix mangling of property names which overwrite unmangleable properties...Fixes #747. Richard van Velzen
2015-07-29Replace util.puts in run-tests with console.log...See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f Richard van Velzen
2015-04-14Added expect_exact for testing the OutputStream...This works almost exactly like `expect`, except that you pass a literal string of which the result is compared with the generated output. Fábio Santos
2014-08-03Added generative testing for AST conversions.Ingvar Stepanyan
2013-10-27Display number of failed tests and corresponding filesMihai Bazon
2013-10-23Add an exit code to the test suite...By adding the exit code 1 (or any other non-zero exit code) `npm test` will know the tests didn't perform correctly. This way it's easier to know if pull requests are good or bad. Richard van Velzen
2012-10-18more optimizations for some break/continue casesMihai Bazon
2012-10-13disable warnings in the test suiteMihai Bazon
2012-10-13drop unused function arguments...also add test for "drop_unused" (the last one fails for now) Mihai Bazon
2012-10-03AST cleanup (dropped AST_StatementBase)Mihai Bazon
2012-09-26removed the "squeeze" method (it's now effectively "transform")Mihai Bazon
2012-09-24minor tests fixMihai Bazon
2012-09-12fixed run-tests and an issue about reversing the condition in AST_IfMihai Bazon
2012-09-07checkpointMihai Bazon
2012-09-07always keep declarations found in unreachable code...a few more tests and some cleanups. Mihai Bazon
2012-09-07fixed tests (need to drop the toplevel block in "expected" if it's a single s...Mihai Bazon
2012-09-03a LabeledStatement should be in fact a StatementWithBody...This fixes output for: if (foo) { moo: if (bar) { break moo; } } else { baz(); } (the labeled statement must be outputted inside brackets) Mihai Bazon
2012-08-27minorMihai Bazon
2012-08-22wrote more of the compressor and added some testsMihai Bazon