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 f9d2c4b commit a255cd5Copy full SHA for a255cd5
testing/unittest.js
@@ -1,13 +1,10 @@
1
+import { expect } from '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