We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e0aa1 commit 55be14fCopy full SHA for 55be14f
test/lib/core/compiler/io/loadPlugins.test.ts
@@ -4,9 +4,7 @@ import { pathToFileURL } from 'node:url';
4
5
const pluginFile = '#test-plugin.js';
6
7
-const resolvedPath = pathToFileURL(
8
- path.resolve(pluginFile)
9
-).href;
+const resolvedPath = pathToFileURL(path.resolve(pluginFile)).href;
10
11
vi.doMock(resolvedPath, () => ({
12
// eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types, @typescript-eslint/no-explicit-any
@@ -16,7 +14,7 @@ vi.doMock(resolvedPath, () => ({
16
14
class MyComponent extends Component {
17
15
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
18
public render(): string {
19
- return "<html>...</html>";
+ return '<html>...</html>';
20
}
21
22
),
0 commit comments