Standardize browser QA at 1920x1080
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { readdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';
|
||||
import { join, sep } from 'node:path';
|
||||
import { createServer } from 'vite';
|
||||
import { desktopBrowserViewport } from './desktop-browser-viewport.mjs';
|
||||
|
||||
const battleMapDir = join('src', 'assets', 'images', 'battle');
|
||||
const storyDir = join('src', 'assets', 'images', 'story');
|
||||
const titleImagePath = join('src', 'assets', 'images', 'taoyuan-oath-title.png');
|
||||
const reportPath = join('docs', 'visual-asset-quality-audit.md');
|
||||
const targetViewport = { width: 1920, height: 1080 };
|
||||
const targetViewport = desktopBrowserViewport;
|
||||
const expectedStorySize = { width: 1672, height: 941 };
|
||||
|
||||
const server = await createServer({
|
||||
|
||||
Reference in New Issue
Block a user