File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " wxa-cli2-apple" ,
3
- "version" : " 1.0.25 " ,
3
+ "version" : " 1.0.26 " ,
4
4
"description" : " cli for wxa development" ,
5
5
"main" : " dist/wxa.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import crypto from 'crypto';
12
12
import debugPKG from 'debug' ;
13
13
import path from 'path' ;
14
14
import runTestCase from './wxa-e2eTest/runTestcase.js'
15
-
15
+ import JSON5 from 'json5'
16
16
const debug = debugPKG ( 'WXA:E2ETester' ) ;
17
17
const E2E_TEST_COMPONENT = 'wxa-e2e-record-btn' ;
18
18
const E2E_TEST_URL = '/record' ;
@@ -121,7 +121,7 @@ class TesterScheduler extends Schedule {
121
121
122
122
tryAddGlobalTestComponent ( mdl ) {
123
123
try {
124
- let appConfigs = JSON . parse ( mdl . content ) ;
124
+ let appConfigs = JSON5 . parse ( mdl . content ) ;
125
125
126
126
appConfigs [ 'wxa.globalComponents' ] = {
127
127
...appConfigs [ 'wxa.globalComponents' ] ,
You can’t perform that action at this time.
0 commit comments