Skip to content

Commit

Permalink
Remove .js imports from test files
Browse files Browse the repository at this point in the history
  • Loading branch information
double-beep authored Jan 28, 2024
1 parent 7e8c770 commit 21d6117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from "chai";
import { readFile, unlink } from "fs/promises";
import { generate, PackageInfo } from "../src/index.js";
import { getPackage } from "../src/utils.js";
import { generate, PackageInfo } from "../src/index";
import { getPackage } from "../src/utils";

describe("CLI", () => {
it("everything works ok", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/license.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { formatLicense } from "../../src/license.js";
import { formatLicense } from "../../src/license";

describe("License", () => {
describe("formatLicense", () => {
Expand Down

0 comments on commit 21d6117

Please sign in to comment.