Skip to content

Commit 498fade

Browse files
committed
Fix import from js
1 parent adc4934 commit 498fade

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__tests__/annotation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {expect, test} from '@jest/globals'
2-
import {Annotation} from '../src/annotation'
2+
import {Annotation} from '../src/annotation.js'
33

44
test('test Annotation.constructor with Warning', () => {
55
const annotation = new Annotation(

__tests__/parser.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'path'
22
import {expect, test} from '@jest/globals'
3-
import {Annotation} from '../src/annotation'
4-
import {parseXmls, parseXml} from '../src/parser'
3+
import {Annotation} from '../src/annotation.js'
4+
import {parseXmls, parseXml} from '../src/parser.js'
55

66
test('test parseXmls', () => {
77
const file1 = path.join(__dirname, 'resource', 'lint-results.xml')

0 commit comments

Comments
 (0)