@@ -10,6 +10,7 @@ const assert = require('assert');
1010
1111const expectedModules = new Set ( [
1212 'Internal Binding async_wrap' ,
13+ 'Internal Binding blob' ,
1314 'Internal Binding buffer' ,
1415 'Internal Binding builtins' ,
1516 'Internal Binding config' ,
@@ -18,8 +19,8 @@ const expectedModules = new Set([
1819 'Internal Binding credentials' ,
1920 'Internal Binding errors' ,
2021 'Internal Binding fs' ,
21- 'Internal Binding mksnapshot' ,
2222 'Internal Binding messaging' ,
23+ 'Internal Binding mksnapshot' ,
2324 'Internal Binding module_wrap' ,
2425 'Internal Binding options' ,
2526 'Internal Binding performance' ,
@@ -35,6 +36,7 @@ const expectedModules = new Set([
3536 'Internal Binding util' ,
3637 'Internal Binding wasm_web_api' ,
3738 'Internal Binding worker' ,
39+ 'NativeModule async_hooks' ,
3840 'NativeModule buffer' ,
3941 'NativeModule events' ,
4042 'NativeModule fs' ,
@@ -87,19 +89,17 @@ const expectedModules = new Set([
8789 'NativeModule internal/util/inspect' ,
8890 'NativeModule internal/util/iterable_weak_map' ,
8991 'NativeModule internal/util/types' ,
92+ 'NativeModule internal/v8/startup_snapshot' ,
9093 'NativeModule internal/validators' ,
9194 'NativeModule internal/vm' ,
9295 'NativeModule internal/vm/module' ,
9396 'NativeModule internal/wasm_web_api' ,
9497 'NativeModule internal/worker/js_transferable' ,
95- 'Internal Binding blob' ,
96- 'NativeModule async_hooks' ,
9798 'NativeModule path' ,
9899 'NativeModule querystring' ,
99100 'NativeModule timers' ,
100101 'NativeModule url' ,
101102 'NativeModule util' ,
102- 'NativeModule internal/v8/startup_snapshot' ,
103103 'NativeModule vm' ,
104104] ) ;
105105
@@ -132,10 +132,10 @@ if (!common.isMainThread) {
132132 'NativeModule internal/streams/writable' ,
133133 'NativeModule internal/worker' ,
134134 'NativeModule internal/worker/io' ,
135- 'NativeModule worker_threads' ,
136135 'NativeModule stream' ,
137136 'NativeModule stream/promises' ,
138137 'NativeModule string_decoder' ,
138+ 'NativeModule worker_threads' ,
139139 ] . forEach ( expectedModules . add . bind ( expectedModules ) ) ;
140140}
141141
0 commit comments