mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-29 01:53:54 +03:00
test: dont test for the errors file because we no longer export it (#9628)
This commit is contained in:
parent
983cfde4d4
commit
740b81376d
@ -16,7 +16,6 @@
|
||||
|
||||
import { chromium, firefox, webkit, selectors, devices, errors } from 'playwright-firefox';
|
||||
import playwright from 'playwright-firefox';
|
||||
import errorsFile from 'playwright-core/lib/utils/errors';
|
||||
|
||||
import testESM from './esm.mjs';
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright, errorsFile }, [firefox]);
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright }, [firefox]);
|
||||
|
@ -17,7 +17,6 @@
|
||||
import { chromium, firefox, webkit, selectors, devices, errors, test, expect } from '@playwright/test';
|
||||
import * as playwright from '@playwright/test';
|
||||
import defaultExport from '@playwright/test';
|
||||
import errorsFile from 'playwright-core/lib/utils/errors';
|
||||
import testESM from './esm.mjs';
|
||||
|
||||
if (defaultExport !== test) {
|
||||
@ -36,4 +35,4 @@ if (typeof expect !== 'function') {
|
||||
}
|
||||
expect(1).toBe(1);
|
||||
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright, errorsFile }, [chromium, firefox, webkit]);
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright }, [chromium, firefox, webkit]);
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
import { chromium, firefox, webkit, selectors, devices, errors } from 'playwright-webkit';
|
||||
import playwright from 'playwright-webkit';
|
||||
import errorsFile from 'playwright-core/lib/utils/errors';
|
||||
|
||||
import testESM from './esm.mjs';
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright, errorsFile }, [webkit]);
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright }, [webkit]);
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
import { chromium, firefox, webkit, selectors, devices, errors } from 'playwright';
|
||||
import playwright from 'playwright';
|
||||
import errorsFile from 'playwright-core/lib/utils/errors';
|
||||
|
||||
import testESM from './esm.mjs';
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright, errorsFile }, [chromium, firefox, webkit]);
|
||||
testESM({ chromium, firefox, webkit, selectors, devices, errors, playwright }, [chromium, firefox, webkit]);
|
||||
|
Loading…
Reference in New Issue
Block a user