Skip to content

Commit

Permalink
refactor: move EventEmitter tests (#10463)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Jun 28, 2023
1 parent 6edb392 commit 1f0dc4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -34,7 +34,7 @@
"test:firefox:headful": "wireit",
"test:firefox:headless": "wireit",
"test:firefox": "wireit",
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1046",
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1026",
"validate-licenses": "tsx tools/third_party/validate-licenses.ts",
"unit": "npm run unit --workspaces --if-present"
},
Expand Down
@@ -1,5 +1,5 @@
/**
* Copyright 2020 Google Inc. All rights reserved.
* Copyright 2023 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,10 +14,13 @@
* limitations under the License.
*/

import {describe, it, beforeEach} from 'node:test';

import expect from 'expect';
import {EventEmitter} from 'puppeteer-core/internal/common/EventEmitter.js';
import sinon from 'sinon';

import {EventEmitter} from './EventEmitter.js';

describe('EventEmitter', () => {
let emitter: EventEmitter;

Expand Down

0 comments on commit 1f0dc4f

Please sign in to comment.