chore: make lint green

This commit is contained in:
Max Schmitt 2024-09-13 22:17:48 +02:00
parent b2bfb85dff
commit 84f5e95ccb
2 changed files with 6 additions and 2 deletions

View file

@ -323,6 +323,10 @@ export class BidiPage implements PageDelegate {
throw new Error('Method not implemented.');
}
async forceGarbageCollection(): Promise<void> {
throw new Error('Method not implemented.');
}
async addInitScript(initScript: InitScript): Promise<void> {
const { script } = await this._session.send('script.addPreloadScript', {
// TODO: remove function call from the source.

View file

@ -14,9 +14,9 @@
* limitations under the License.
*/
import { test as it, expect } from './pageTest';
import { test, expect } from './pageTest';
it('should work', async function({ page, browserName }) {
test('should work', async ({ page }) => {
await page.evaluate(() => {
globalThis.objectToDestroy = {};
globalThis.weakRef = new WeakRef(globalThis.objectToDestroy);