write down plan

This commit is contained in:
Simon Knott 2024-07-18 13:00:12 +02:00
parent 397b66d22a
commit a11e7fb071
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -203,6 +203,13 @@ test.only('should suppport component tests', async ({ runInlineTest, setupReposi
git('commit -am "update button2 test"'); git('commit -am "update button2 test"');
// this doesn't work. we do know about dependencies in the Vite bundle,
// but only after the Vite build ran.
// Right now, --only-changed is interpreted *before* Vite build.
// We can either move the build (risky, big architecture change)
// or re-apply --only-changed after the build.
// Let's try the latter.
const result3 = await runInlineTest({ const result3 = await runInlineTest({
'src/button.tsx': ` 'src/button.tsx': `
export const Button = () => <button>Different Button</button>; export const Button = () => <button>Different Button</button>;