Skip to content

Commit 9a6a59a

Browse files
committed
Add missed .js to import statement
1 parent 65f2f53 commit 9a6a59a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ test-results
44
package-lock.json
55
.history/
66
.vscode/
7+
.link/

dtc-redis-plugin/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"@cgauge/dtc": "^0.24.0",
2020
"@cgauge/type-guard": "^0.24.0"
2121
},
22+
"devDependencies": {
23+
"ioredis": "^5.6.1"
24+
},
2225
"scripts": {
2326
"build": "tsc --build --verbose",
2427
"test": "tsx --test test/*.test.ts",

dtc/src/plugins/http-call-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nodeAssert from 'node:assert/strict'
22
import extraAssert from '@cgauge/assert'
33
import {is, union, optional, unknown, record, assert as typeAssert, diff} from '@cgauge/type-guard'
4-
import {debug, info} from '../utils'
4+
import {debug, info} from '../utils.js'
55

66
let response: Response | undefined
77
let textResponse: string | undefined

dtc/src/plugins/http-mock-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import nodeAssert from 'node:assert/strict'
22
import extraAssert from '@cgauge/assert'
33
import nock from 'nock'
44
import {diff, is, optional, record, union, unknown} from '@cgauge/type-guard'
5-
import {debug} from '../utils'
5+
import {debug} from '../utils.js'
66

77
const MockHttp = {
88
url: String,

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@
2424
},
2525
"devDependencies": {
2626
"@types/node": "^20.0.0",
27-
"ioredis": "^5.6.1",
2827
"tsx": "^4.0.0",
2928
"typescript": "^5.0.0"
30-
},
31-
"dependencies": {
32-
"type-assurance": "^1.6.2"
3329
}
3430
}

0 commit comments

Comments
 (0)