mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-14 15:16:35 +03:00
Carry native comp capture and completion integrity fixes into the reviewed component workflow. Bump the skill to 4.4.0 and engine/platform pins to 0.1.6; keep publication separate from this release candidate. AI assistance: implemented and validated with OpenAI Codex.
9 lines
502 B
JavaScript
9 lines
502 B
JavaScript
import { test, expect } from 'bun:test';
|
|
import { resolve } from 'node:path';
|
|
const root=resolve(import.meta.dir,'..');
|
|
test('native component review bundle matches the shared UI source',async()=>{
|
|
const result=await Bun.build({entrypoints:[resolve(root,'ui/component-review/entry.ts')],target:'browser',format:'iife',minify:true});
|
|
expect(result.success).toBe(true);
|
|
expect(await result.outputs[0].text()).toBe(await Bun.file(resolve(root,'crates/context/assets/component-review.js')).text());
|
|
});
|