Skip to content

Commit 3effc84

Browse files
committed
fix: tsconfig and failing test
1 parent 4e47c21 commit 3effc84

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test/plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe("plugin", () => {
3535
expect(resp.status).toBe(200)
3636
const body = await resp.json()
3737
logger.debug(`${JSON.stringify(body)}`)
38-
expect(body).toBe([
38+
expect(body).toStrictEqual([
3939
{
4040
name: "Test App",
4141
version: "4.0.0",

test/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"typeRoots": [
5-
"node_modules/@types"
5+
"node_modules/@types",
6+
"../typings"
67
],
78
"composite": true
89
},

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"downlevelIteration": true
2121
},
2222
"include": ["./src/**/*.ts"],
23-
"exclude": "test"
23+
"exclude": ["test"]
2424
}

0 commit comments

Comments
 (0)