beartest-js 8.0.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/beartest.js +1 -1
  2. package/package.json +1 -1
package/beartest.js CHANGED
@@ -92,7 +92,7 @@ export async function* run(options = {}) {
92
92
  suiteStack.push({ before: [], beforeEach: [], after: [], afterEach: [], tests: [], name })
93
93
  let suiteStart
94
94
  try {
95
- require(file)
95
+ await import(file)
96
96
  yield { type: 'test:start', data: { name: name, nesting: 0, type: 'suite' } }
97
97
  suiteStart = Date.now()
98
98
  for await (let event of runTestSuite({ only: options.only })) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beartest-js",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Bear Bones Testing",
5
5
  "repository": {
6
6
  "type": "git",