Skip to content

Commit

Permalink
Fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli committed Jan 3, 2024
1 parent 79d850c commit 180e507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as path from "path";
import * as Mocha from "mocha";
import * as glob from "glob";
import NYC = require("nyc");

export async function run(): Promise<void> {
const nyc: NYC = new NYC({
const NYC = await import("nyc");
const nyc = new NYC({
cwd: path.join(__dirname, "..", ".."),
instrument: true,
extension: [
Expand Down

0 comments on commit 180e507

Please sign in to comment.