mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 10:01:34 +00:00
Add import extensions
This commit is contained in:
parent
c4f6f6794a
commit
61068b04d2
7 changed files with 14 additions and 14 deletions
|
@ -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', () => {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue