Skip to content

Commit

Permalink
Rename PuppeteerEnvironment to PlaywrightEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarkelov committed Feb 1, 2020
1 parent 3adc90e commit 0b8e833
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = require('./lib/PuppeteerEnvironment').default
module.exports.globalSetup = require('./lib/global').setup
module.exports.globalTeardown = require('./lib/global').teardown
module.exports = require('./lib/PlaywrightEnvironment').default;
module.exports.globalSetup = require('./lib/global').setup;
module.exports.globalTeardown = require('./lib/global').teardown;
4 changes: 2 additions & 2 deletions src/PuppeteerEnvironment.js → src/PlaywrightEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const handleError = error => {
process.emit('uncaughtException', error)
};

class PuppeteerEnvironment extends NodeEnvironment {
class PlaywrightEnvironment extends NodeEnvironment {
async teardown() {
console.log('Teardown Test Environment.');
await super.teardown()
Expand All @@ -33,4 +33,4 @@ class PuppeteerEnvironment extends NodeEnvironment {
}
}

export default PuppeteerEnvironment
export default PlaywrightEnvironment

0 comments on commit 0b8e833

Please sign in to comment.