refactor: use node scheme imports in spec (#38487)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
bf1ba4a857
commit
d78f37ec8f
105 changed files with 533 additions and 352 deletions
|
@ -3,7 +3,7 @@
|
|||
* with events in async/await manner.
|
||||
*/
|
||||
|
||||
import { on } from 'events';
|
||||
import { on } from 'node:events';
|
||||
|
||||
export const emittedNTimes = async (emitter: NodeJS.EventEmitter, eventName: string, times: number, trigger?: () => void) => {
|
||||
const events: any[][] = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue