Skip to content

Commit a6525fa

Browse files
committed
move default.test.ts to ts/e2e
1 parent 445252a commit a6525fa

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const config: JestConfigWithTsJest = {
1515
moduleNameMapper: {
1616
"^(\\.{1,2}/.*)\\.js$": "$1",
1717
},
18+
modulePathIgnorePatterns: ["tests/ts/e2e"],
1819
testPathIgnorePatterns: ["./dist"],
1920
testTimeout: 10000,
2021
};

tests/as/default.test.ts renamed to tests/ts/e2e/default.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, test, expect, endTest } from "../../assembly";
1+
import { describe, test, expect, endTest } from "../../../assembly";
22

33
// Default Stub Injection Tests
44
// Making sure that external functions can supplied with an empty default function so that users will be free of supplying their own

tests/ts/tsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "assemblyscript/std/assembly.json",
3+
"include": ["./e2e/*.ts"],
4+
"compilerOptions": {
5+
"strictBindCallApply": false
6+
}
7+
}

0 commit comments

Comments
 (0)