File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/wxa-cli/src/tester Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,17 @@ class TesterScheduler extends Schedule {
41
41
42
42
this . perf . markEnd ( relativeSrc ) ;
43
43
44
- // Inject test suite into app.js
45
- if ( dep . meta && dep . meta . source === this . APP_SCRIPT_PATH ) {
46
- this . tryWrapWXATestSuite ( dep ) ;
47
- }
48
44
if ( dep . meta && dep . meta . source === this . APP_CONFIG_PATH ) {
49
45
this . tryAddGlobalTestComponent ( dep ) ;
50
46
}
51
47
52
48
// try to wrap wxa every app and page
53
49
this . tryWrapWXA ( dep ) ;
54
50
this . tryAddPolyfill ( dep ) ;
51
+ // Inject test suite into app.js
52
+ if ( dep . meta && dep . meta . source === this . APP_SCRIPT_PATH ) {
53
+ this . tryWrapWXATestSuite ( dep ) ;
54
+ }
55
55
56
56
// Todo: conside if cache is necessary here.
57
57
// debug('dep to process %O', dep);
You can’t perform that action at this time.
0 commit comments