Skip to content

Commit 0b8e833

Browse files
committed
Rename PuppeteerEnvironment to PlaywrightEnvironment
1 parent 3adc90e commit 0b8e833

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module.exports = require('./lib/PuppeteerEnvironment').default
2-
module.exports.globalSetup = require('./lib/global').setup
3-
module.exports.globalTeardown = require('./lib/global').teardown
1+
module.exports = require('./lib/PlaywrightEnvironment').default;
2+
module.exports.globalSetup = require('./lib/global').setup;
3+
module.exports.globalTeardown = require('./lib/global').teardown;

src/PuppeteerEnvironment.js renamed to src/PlaywrightEnvironment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const handleError = error => {
77
process.emit('uncaughtException', error)
88
};
99

10-
class PuppeteerEnvironment extends NodeEnvironment {
10+
class PlaywrightEnvironment extends NodeEnvironment {
1111
async teardown() {
1212
console.log('Teardown Test Environment.');
1313
await super.teardown()
@@ -33,4 +33,4 @@ class PuppeteerEnvironment extends NodeEnvironment {
3333
}
3434
}
3535

36-
export default PuppeteerEnvironment
36+
export default PlaywrightEnvironment

0 commit comments

Comments
 (0)