File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
test/lib/core/compiler/io Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ export type ClassAugmentedWithRegistry<C extends Class<object>> = C & {
136136} ;
137137
138138/** A class to register and retrieve classes by name. */
139- export class Registry <
140- T extends ConcreetClass < object > ,
141- > implements RequireAll < RegistryConstructorArguments > {
139+ export class Registry < T extends ConcreetClass < object > >
140+ implements RequireAll < RegistryConstructorArguments >
141+ {
142142 /** Injects a registry instance and it's methods to a class. */
143143 // eslint-disable-next-line @typescript-eslint/naming-convention
144144 public static readonly inject = Object . assign (
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import { pathToFileURL } from 'node:url';
44
55const pluginFile = '#test-plugin.js' ;
66
7- const resolvedPath = pathToFileURL (
8- path . resolve ( pluginFile )
9- ) . href ;
7+ const resolvedPath = pathToFileURL ( path . resolve ( pluginFile ) ) . href ;
108
119vi . doMock ( resolvedPath , ( ) => ( {
1210 // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types, @typescript-eslint/no-explicit-any
@@ -16,7 +14,7 @@ vi.doMock(resolvedPath, () => ({
1614 class MyComponent extends Component {
1715 // eslint-disable-next-line @typescript-eslint/class-methods-use-this
1816 public render ( ) : string {
19- return " <html>...</html>" ;
17+ return ' <html>...</html>' ;
2018 }
2119 }
2220 ) ,
You can’t perform that action at this time.
0 commit comments