dcodeIO c93f0bb1fe Fixed a function expression parsing issue
Also uncovered a yet-to-be-fixed issue when immediately calling a returned function
2018-03-12 19:39:05 +01:00
..
2018-02-12 19:17:50 +01:00
2017-09-28 13:08:25 +02:00
2017-09-28 13:08:25 +02:00
2017-12-04 16:26:34 +01:00
2017-11-17 14:33:51 +01:00

Parser

Tests consist of a test case that is first parsed and then serialized again. The output is then compared to its respective fixture.

$> npm run test:parser [case name]

To recreate the fixtures:

$>npm run test:parser -- --create

Compiler

Tests consist of a test case that is compiled to a module, validated, interpreted, converted to text format and then compared to its respective fixture.

$> npm run test:compiler [case name]

To recreate the fixtures:

$>npm run test:compiler -- --create