@@ -10,6 +10,7 @@ const assert = require('assert');
10
10
11
11
const expectedModules = new Set ( [
12
12
'Internal Binding async_wrap' ,
13
+ 'Internal Binding blob' ,
13
14
'Internal Binding buffer' ,
14
15
'Internal Binding builtins' ,
15
16
'Internal Binding config' ,
@@ -18,8 +19,8 @@ const expectedModules = new Set([
18
19
'Internal Binding credentials' ,
19
20
'Internal Binding errors' ,
20
21
'Internal Binding fs' ,
21
- 'Internal Binding mksnapshot' ,
22
22
'Internal Binding messaging' ,
23
+ 'Internal Binding mksnapshot' ,
23
24
'Internal Binding module_wrap' ,
24
25
'Internal Binding options' ,
25
26
'Internal Binding performance' ,
@@ -35,6 +36,7 @@ const expectedModules = new Set([
35
36
'Internal Binding util' ,
36
37
'Internal Binding wasm_web_api' ,
37
38
'Internal Binding worker' ,
39
+ 'NativeModule async_hooks' ,
38
40
'NativeModule buffer' ,
39
41
'NativeModule events' ,
40
42
'NativeModule fs' ,
@@ -87,19 +89,17 @@ const expectedModules = new Set([
87
89
'NativeModule internal/util/inspect' ,
88
90
'NativeModule internal/util/iterable_weak_map' ,
89
91
'NativeModule internal/util/types' ,
92
+ 'NativeModule internal/v8/startup_snapshot' ,
90
93
'NativeModule internal/validators' ,
91
94
'NativeModule internal/vm' ,
92
95
'NativeModule internal/vm/module' ,
93
96
'NativeModule internal/wasm_web_api' ,
94
97
'NativeModule internal/worker/js_transferable' ,
95
- 'Internal Binding blob' ,
96
- 'NativeModule async_hooks' ,
97
98
'NativeModule path' ,
98
99
'NativeModule querystring' ,
99
100
'NativeModule timers' ,
100
101
'NativeModule url' ,
101
102
'NativeModule util' ,
102
- 'NativeModule internal/v8/startup_snapshot' ,
103
103
'NativeModule vm' ,
104
104
] ) ;
105
105
@@ -132,10 +132,10 @@ if (!common.isMainThread) {
132
132
'NativeModule internal/streams/writable' ,
133
133
'NativeModule internal/worker' ,
134
134
'NativeModule internal/worker/io' ,
135
- 'NativeModule worker_threads' ,
136
135
'NativeModule stream' ,
137
136
'NativeModule stream/promises' ,
138
137
'NativeModule string_decoder' ,
138
+ 'NativeModule worker_threads' ,
139
139
] . forEach ( expectedModules . add . bind ( expectedModules ) ) ;
140
140
}
141
141
0 commit comments