File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,4 @@ class WebChromiumTest extends Base
32
32
...Base::PERMISSION_HELPER_RESPONSES ,
33
33
...Base::ID_HELPER_RESPONSES
34
34
];
35
-
36
- public function setUp (): void
37
- {
38
- $ headers = "x-sdk-name: {$ this ->sdkName }; x-sdk-platform: {$ this ->sdkPlatform }; x-sdk-language: {$ this ->sdkLanguage }; x-sdk-version: {$ this ->version }" ;
39
- array_push ($ this ->expectedOutput , $ headers , ...Base::REALTIME_RESPONSES );
40
- }
41
35
}
Original file line number Diff line number Diff line change 109
109
console . log ( error . message ) ;
110
110
}
111
111
112
- response = await general . headers ( ) ;
113
- console . log ( response . result ) ;
114
-
115
- await Promise . resolve ( resolve => setTimeout ( ( ) => resolve , 5000 ) ) ;
112
+ const delay = ms => new Promise ( res => setTimeout ( res , ms ) ) ;
113
+ await delay ( 5000 ) ;
116
114
console . log ( responseRealtime )
117
115
118
116
// Query helper tests
140
138
console . log ( ID . unique ( ) ) ;
141
139
console . log ( ID . custom ( 'custom_id' ) ) ;
142
140
141
+ response = await general . headers ( ) ;
142
+ console . log ( response . result ) ;
143
+
143
144
} ) ;
144
145
</ script >
145
146
</ body >
You can’t perform that action at this time.
0 commit comments