Add import extensions

This commit is contained in:
Alex Miller 2024-09-11 13:27:25 +12:00
parent c4f6f6794a
commit 61068b04d2
7 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,6 @@
import {describe, expect, test} from 'vitest'
import {csvEscape} from '../src/list-format/csv-escape'
import {csvEscape} from '../src/list-format/csv-escape.ts'
describe('csvEscape() backslash escapes every character except subset of definitely safe characters', () => {
test('simple filename should not be modified', () => {

View file

@ -1,7 +1,7 @@
import {describe, expect, test} from 'vitest'
import {File, ChangeStatus} from '../src/file'
import {Filter} from '../src/filter'
import {File, ChangeStatus} from '../src/file.ts'
import {Filter} from '../src/filter.ts'
describe('yaml filter parsing tests', () => {
test('throws if yaml is not a dictionary', () => {

View file

@ -1,7 +1,7 @@
import {describe, expect, test} from 'vitest'
import {ChangeStatus} from '../src/file'
import * as git from '../src/git'
import {ChangeStatus} from '../src/file.ts'
import * as git from '../src/git.ts'
describe('parsing output of the git diff command', () => {
test('parseGitDiffOutput returns files with correct change status', () => {

View file

@ -1,6 +1,6 @@
import {describe, expect, test} from 'vitest'
import {backslashEscape, shellEscape} from '../src/list-format/shell-escape'
import {backslashEscape, shellEscape} from '../src/list-format/shell-escape.ts'
describe('escape() backslash escapes every character except subset of definitely safe characters', () => {
test('simple filename should not be modified', () => {