Skip to content

Commit becb150

Browse files
committed
Fix type errors
1 parent 4141323 commit becb150

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/tailwindcss-language-service/src/completions/file-paths.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { findFileDirective } from './file-paths'
33

44
test('Detecting v3 directives that point to files', async () => {
55
function find(text: string) {
6-
return findFileDirective({ enabled: true, v4: false }, text)
6+
return findFileDirective({ enabled: true, v4: false, features: [] }, text)
77
}
88

99
await expect(find('@config "./')).resolves.toEqual({
@@ -22,7 +22,7 @@ test('Detecting v3 directives that point to files', async () => {
2222

2323
test('Detecting v4 directives that point to files', async () => {
2424
function find(text: string) {
25-
return findFileDirective({ enabled: true, v4: true }, text)
25+
return findFileDirective({ enabled: true, v4: true, features: [] }, text)
2626
}
2727

2828
await expect(find('@config "./')).resolves.toEqual({
@@ -64,7 +64,7 @@ test('Detecting v4 directives that point to files', async () => {
6464

6565
test('@source inline is ignored', async () => {
6666
function find(text: string) {
67-
return findFileDirective({ enabled: true, v4: true }, text)
67+
return findFileDirective({ enabled: true, v4: true, features: [] }, text)
6868
}
6969

7070
await expect(find('@source inline("')).resolves.toEqual(null)

0 commit comments

Comments
 (0)