File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { createSyntaxDiagramsCode } from 'chevrotain' ;
2
2
import { writeFileSync } from 'fs' ;
3
- import { parser } from '../src/load/parser' ;
3
+ import { parser } from '../src/load/parser.js ' ;
4
4
5
5
const outputDiagram = ( ) => {
6
6
const serializedGrammar = parser . getSerializedGastProductions ( ) ;
Original file line number Diff line number Diff line change 1
- import { envs } from './src/common/environment' ;
1
+ import { envs } from './src/common/environment.js ' ;
2
2
3
3
envs . enableDebug ( ) ;
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ special = "🎵 La-la-la ♪ (⌐■_■) →★←"
258
258
259
259
# Stress test string
260
260
stress = "🏳️🌈 Hello\\t世界\\n☮️\\u0026\\u2764 Peace & Love ✌🏽 🌏"` ;
261
-
261
+
262
262
const result = load ( input ) ;
263
263
264
264
expect ( result ) . toEqual ( {
@@ -268,6 +268,6 @@ stress = "🏳️🌈 Hello\\t世界\\n☮️\\u0026\\u2764 Peace & Love ✌
268
268
escaped_mix : 'Hi 🙋♂️ 💻' ,
269
269
multilang : 'Café ☕️ & Ramen 🍜 = 💖' ,
270
270
special : '🎵 La-la-la ♪ (⌐■_■) →★←' ,
271
- stress : '🏳️🌈 Hello\t世界\n☮️&❤ Peace & Love ✌🏽 🌏'
271
+ stress : '🏳️🌈 Hello\t世界\n☮️&❤ Peace & Love ✌🏽 🌏' ,
272
272
} ) ;
273
273
} ) ;
Original file line number Diff line number Diff line change 6
6
]
7
7
},
8
8
"exclude" : [
9
- " node_modules"
9
+ " node_modules" ,
10
+ " examples"
10
11
]
11
12
}
You can’t perform that action at this time.
0 commit comments