Skip to content

Commit

Permalink
fix: PW test
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Mar 4, 2024
1 parent 2b87099 commit 7f1bc47
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/helper/Playwright_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import path, { dirname } from 'path';
import fs from 'fs';
import playwright from 'playwright';
import { fileURLToPath } from 'url';
import { assert, expect } from 'chai';
import TestHelper from '../support/TestHelper.js';
import Playwright from '../../lib/helper/Playwright.js';
import AssertionFailedError from '../../lib/assert/error.js';
Expand All @@ -10,12 +11,6 @@ import FileSystem from '../../lib/helper/FileSystem.js';
import { deleteDir, submittedData } from '../../lib/utils.js';
import Secret from '../../lib/secret.js';

let assert;
let expect;
import('chai').then(chai => {
assert = chai.assert;
expect = chai.expect;
});
global.codeceptjs = '../../lib';

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

0 comments on commit 7f1bc47

Please sign in to comment.