We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43111d8 commit 56ac4b4Copy full SHA for 56ac4b4
testing/unittest.js
@@ -1,10 +1,13 @@
1
-const { expect } = await import('chai')
2
const sinon = require('sinon')
3
const { doInitFilter, doFilter } = require('../src/pytest_html/scripts/filter.js')
4
const { doInitSort, doSort } = require('../src/pytest_html/scripts/sort.js')
5
const dataModule = require('../src/pytest_html/scripts/datamanager.js')
6
const storageModule = require('../src/pytest_html/scripts/storage.js')
7
+let expect
8
+(async () => {
9
+ ({ expect } = await import('chai'))
10
+})()
11
12
const setTestData = () => {
13
const jsonData = {
0 commit comments