Skip to content

Commit d803001

Browse files
test: use self-importing by name
1 parent 50009ce commit d803001

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

test/bunVersion.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect, describe } from "bun:test";
22

3-
import { isBunModule, isSupportedNodeModule } from "@self";
3+
import { isBunModule, isSupportedNodeModule } from "is-bun-module";
44

55
describe("Bun version parsing", () => {
66
test("Throw if lower than minimum", () => {

test/isBunModule.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect, describe } from "bun:test";
22

3-
import { isBunModule } from "@self";
3+
import { isBunModule } from "is-bun-module";
44

55
describe("Bun modules checking", () => {
66
test("Return true for bun", () => {

test/isSupportedModule.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect, describe } from "bun:test";
22

3-
import { isSupportedNodeModule } from "@self";
3+
import { isSupportedNodeModule } from "is-bun-module";
44

55
describe("Supported Node modules checking", () => {
66
test("Return true for supported node", () => {

test/mock.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222
"baseUrl": ".",
2323
"paths": {
24-
"@assets/*": ["src/assets/*"],
25-
"@self": ["."]
24+
"@assets/*": ["src/assets/*"]
2625
}
2726
},
2827
"exclude": ["node_modules", "dist"]

0 commit comments

Comments
 (0)