Files
purewhiter--mobilegym/tests/wmrRendererLoading.test.ts
wehub-resource-sync 2114b14ee0
Sync main into demo / sync (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:26 +08:00

12 lines
371 B
TypeScript

import { readFileSync } from 'node:fs';
import { describe, expect, it } from 'vitest';
const source = readFileSync('os/wmr/WmrRenderer.tsx', 'utf8');
describe('WMR renderer loading state', () => {
it('uses a generic loading label for widget loading', () => {
expect(source).not.toContain('正在加载 WMR');
expect(source).toContain('Loading...');
});
});