Skip to content

Commit fe39cbf

Browse files
committed
source-map: Cover ast2SourceNode completely
1 parent 1ee49ab commit fe39cbf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/api/plugin-api.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ describe("plugin API", () => {
7676
"start = .* {",
7777
" return {",
7878
" type: 'grammar',",
79+
" initializer: {",
80+
" type: 'initializer',",
81+
" code: ['/* included for cover ast2SourceNode in the generate-js pass */'],",
82+
" },",
7983
" rules: [",
8084
" {",
8185
" type: 'rule',",

0 commit comments

Comments
 (0)