Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit b3dc13a

Browse files
committed
refactor(tests): rename test1 to class and export resolve function
The test1 directory and its associated files have been renamed to 'class' to better reflect the test's purpose. The 'resolve' function in the test spec file has also been made exportable for potential reuse in other tests.
1 parent 537f79c commit b3dc13a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import path from 'node:path';
33
import { expect, it } from 'vitest';
44
import { compiler } from '../compiler';
55

6-
function resolve(file: string) {
6+
export function resolve(file: string) {
77
return path.resolve(__dirname, file);
88
}
99

10-
it('test1', async () => {
10+
it('load css module for class', async () => {
1111
const filename = resolve('Input.svelte');
1212

1313
const source = await fs.readFile(filename, 'utf-8');

0 commit comments

Comments
 (0)