Skip to content

Commit 0456c9f

Browse files
committed
fix(ci): failing pipeline
1 parent 331af98 commit 0456c9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/test/cli.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import { test, describe, expect, beforeEach, afterEach } from 'vitest';
22
import { exec } from "child_process";
33
import { promisify } from "util";
44
import { rmSync } from 'fs';
5+
import * as path from 'path';
56

67
const execPromise = promisify(exec);
78

89
describe('cli', () => {
910

1011
describe('html report', () => {
11-
const filePath = `./smelly-report.html`;
12+
const filePath = path.resolve(__dirname, 'smelly-report.html');
1213

1314
beforeEach(() => {
1415
rmSync(filePath, { force: true });

0 commit comments

Comments
 (0)