update theme path references in tests

This commit is contained in:
2026-07-14 13:21:19 +08:00
parent 12ddaba231
commit 9ecf0a2d91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import {describe, expect, it} from 'vitest';
const themePath = path.resolve(
process.cwd(),
'packages/shared/src/platform-theme.css',
'packages/shared/src/theme.css',
);
function getCssBlock(source: string, selector: string) {
+1 -1
View File
@@ -9,7 +9,7 @@ function readIndexCss() {
function readPlatformThemeCss() {
return fs.readFileSync(
path.resolve(process.cwd(), 'packages/shared/src/platform-theme.css'),
path.resolve(process.cwd(), 'packages/shared/src/theme.css'),
'utf8',
);
}