merge: 최신 main을 자동 화면 폭 수정에 통합

This commit is contained in:
2026-08-21 01:16:49 +00:00
9 changed files with 351 additions and 138 deletions
@@ -5,6 +5,7 @@ import { describe, it } from 'node:test';
const routerSourcePath = path.resolve(import.meta.dirname, '../src/router/index.ts');
const mainDashboardSourcePath = path.resolve(import.meta.dirname, '../src/stores/mainDashboard.ts');
const myPageSourcePath = path.resolve(import.meta.dirname, '../src/views/MyPageView.vue');
void describe('game route loading contract', () => {
void it('loads view components through route-level dynamic imports', async () => {
@@ -26,4 +27,11 @@ void describe('game route loading contract', () => {
assert.doesNotMatch(source, /from\s+['"]@sammo-ts\/logic['"]/);
assert.match(source, /from\s+['"]@sammo-ts\/logic\/messages\/message\.js['"]/);
});
void it('does not preload the server-side logic barrel from the my-page route', async () => {
const source = await readFile(myPageSourcePath, 'utf8');
assert.doesNotMatch(source, /from\s+['"]@sammo-ts\/logic['"]/);
assert.match(source, /from\s+['"]@sammo-ts\/logic\/scenario\/scenarioEffect\.js['"]/);
});
});