Skip to content

Commit

Permalink
Rename empty html pages in drivers
Browse files Browse the repository at this point in the history
This is to free up the name `index.html` for the website.
  • Loading branch information
mantoni committed Dec 23, 2023
1 parent 1b7364f commit e6766ca
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-playwright/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function mochifyDriver(options = {}) {
const {
stderr = process.stderr,
engine = 'firefox',
url = `file:${__dirname}/index.html`,
url = `file:${__dirname}/empty.html`,
...launch_options
} = options;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-puppeteer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports.mochifyDriver = mochifyDriver;
*/
async function mochifyDriver(options = {}) {
const {
url = `file:${__dirname}/index.html`,
url = `file:${__dirname}/empty.html`,
stderr = /** @type {Writable} */ (process.stderr),
...launch_options
} = options;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-webdriver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { WebDriver } = require('webdriver');

exports.mochifyDriver = mochifyDriver;

const default_url = `file:${__dirname}/index.html`;
const default_url = `file:${__dirname}/empty.html`;

/**
* @param {Object} [options]
Expand Down

0 comments on commit e6766ca

Please sign in to comment.