File tree Expand file tree Collapse file tree 5 files changed +54
-1
lines changed Expand file tree Collapse file tree 5 files changed +54
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ task_test
9090 = '@test'
9191 '(' quote
9292 testPath : [^\n ^\r ^\'\"\` )]+
93- quote ')'
93+ quote ')'
9494 break
9595 { return testPath .join (' ' ); }
9696
Original file line number Diff line number Diff line change 1+ import test from 'ava' ;
2+ import pegjs from 'pegjs' ;
3+ import { readFileSync } from 'fs' ;
4+
5+ const parser = readFileSync ( '../parser/index.pegjs' , 'utf8' ) ;
6+ const parse = pegjs . buildParser ( parser ) . parse ;
7+
8+ test . todo ( 'parses an action: open' ) ;
9+ test . todo ( 'parses multiple actions: open' ) ;
10+
11+ test . todo ( 'parses an action: set' ) ;
12+ test . todo ( 'parses an action: insert' ) ;
13+ test . todo ( 'parses an action: writeFileFromFile' ) ;
14+ test . todo ( 'parses an action: writeFileFromContent' ) ;
Original file line number Diff line number Diff line change 1+ import test from 'ava' ;
2+ import pegjs from 'pegjs' ;
3+ import { readFileSync } from 'fs' ;
4+
5+ const parser = readFileSync ( '../parser/index.pegjs' , 'utf8' ) ;
6+ const parse = pegjs . buildParser ( parser ) . parse ;
7+
8+ test . todo ( 'parses an import' ) ;
9+ test . todo ( 'parses multiple imports' ) ;
Original file line number Diff line number Diff line change 1+ import test from 'ava' ;
2+ import pegjs from 'pegjs' ;
3+ import { readFileSync } from 'fs' ;
4+
5+ const parser = readFileSync ( '../parser/index.pegjs' , 'utf8' ) ;
6+ const parse = pegjs . buildParser ( parser ) . parse ;
7+
8+ test . todo ( 'parses a page title' ) ;
9+ test . todo ( 'parses a page with empty description' ) ;
10+ test . todo ( 'parses two pages' ) ;
11+
12+ test . todo ( 'parses an onPageComplete' ) ;
13+ test . todo ( 'throws when multiple onPageCompletes' ) ;
Original file line number Diff line number Diff line change 1+ import test from 'ava' ;
2+ import pegjs from 'pegjs' ;
3+ import { readFileSync } from 'fs' ;
4+
5+ const parser = readFileSync ( '../parser/index.pegjs' , 'utf8' ) ;
6+ const parse = pegjs . buildParser ( parser ) . parse ;
7+
8+ test . todo ( 'parses a task description' ) ;
9+ test . todo ( 'parses a second page with a task' ) ;
10+
11+ test . todo ( 'parses a task test' ) ;
12+ test . todo ( 'warns when missing a task test' ) ;
13+ test . todo ( 'parses multiple task tests' ) ;
14+ test . todo ( 'parses task tests across pages' ) ;
15+
16+ test . todo ( 'parses a task hint' ) ;
17+ test . todo ( 'parses multiple task hints' ) ;
You can’t perform that action at this time.
0 commit comments