Skip to content

Commit 3fa6802

Browse files
committed
fix: typing errors in tests
1 parent 8ef1236 commit 3fa6802

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

src/test/main.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ beforeEach(() => {
2727
},
2828
],
2929
postcssPlugins: [],
30+
postcssSyntax: {},
3031
mode: ["off", {}],
3132
disableSort: false,
3233
},
@@ -71,6 +72,7 @@ describe("Test Extension Main", () => {
7172
},
7273
],
7374
postcssPlugins: [],
75+
postcssSyntax: {},
7476
mode: ["off", {}],
7577
disableSort: false,
7678
};
@@ -116,6 +118,7 @@ describe("Test Extension Main", () => {
116118
},
117119
],
118120
postcssPlugins: [],
121+
postcssSyntax: {},
119122
mode: ["off", {}],
120123
disableSort: true,
121124
};
@@ -158,6 +161,7 @@ describe("Test Extension Main", () => {
158161
...DEFAULT_CONFIG,
159162
files: [getLocalCSSVarLocation("")],
160163
postcssPlugins: [],
164+
postcssSyntax: {},
161165
mode: ["off", {}],
162166
disableSort: true,
163167
};

src/test/parser.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const EXTENSION_CONFIG: ConfigRecord = {
3939
files: [getLocalCSSVarLocation(DUMMY_FILE)],
4040
mode: ["off", {}],
4141
postcssPlugins: [],
42+
postcssSyntax: {},
4243
},
4344
};
4445

@@ -264,13 +265,15 @@ describe("Multi Root", () => {
264265
files: [getLocalCSSVarLocation(IMPORT_SCSS_FILE)],
265266
mode: ["off", {}],
266267
postcssPlugins: [],
268+
postcssSyntax: {},
267269
},
268270
[rootPath2]: {
269271
// This config will test SCSS files
270272
...DEFAULT_CONFIG,
271273
files: [getLocalCSSVarLocation(RENAMED_FILE)],
272274
mode: ["off", {}],
273275
postcssPlugins: [],
276+
postcssSyntax: {},
274277
},
275278
};
276279
CACHE.config = config;

src/test/pre-processors/template-literals.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const MOCK_CONFIG: ConfigRecord = {
2828
files: [getLocalCSSVarLocation(JSX_FILE_PATH)],
2929
mode: ["off", {}],
3030
postcssPlugins: [],
31+
postcssSyntax: {},
3132
},
3233
};
3334

src/test/providers/diagnostics.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const resetMockedCache = () => {
5454
],
5555
mode: ["off", {}],
5656
postcssPlugins: [],
57+
postcssSyntax: {},
5758
},
5859
};
5960
};

src/test/theming-and-duplicates.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const CONFIG: ConfigRecord = {
2727
files: [getLocalCSSVarLocation(THEMING_CSS)],
2828
mode: ["off", {}],
2929
postcssPlugins: [],
30+
postcssSyntax: {},
3031
},
3132
};
3233

0 commit comments

Comments
 (0)