Skip to content

Commit 7f1bc47

Browse files
committed
fix: PW test
1 parent 2b87099 commit 7f1bc47

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/helper/Playwright_test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import path, { dirname } from 'path';
22
import fs from 'fs';
33
import playwright from 'playwright';
44
import { fileURLToPath } from 'url';
5+
import { assert, expect } from 'chai';
56
import TestHelper from '../support/TestHelper.js';
67
import Playwright from '../../lib/helper/Playwright.js';
78
import AssertionFailedError from '../../lib/assert/error.js';
@@ -10,12 +11,6 @@ import FileSystem from '../../lib/helper/FileSystem.js';
1011
import { deleteDir, submittedData } from '../../lib/utils.js';
1112
import Secret from '../../lib/secret.js';
1213

13-
let assert;
14-
let expect;
15-
import('chai').then(chai => {
16-
assert = chai.assert;
17-
expect = chai.expect;
18-
});
1914
global.codeceptjs = '../../lib';
2015

2116
const __dirname = dirname(fileURLToPath(import.meta.url));

0 commit comments

Comments
 (0)