feat: enable placing islands anywhere #356
Annotations
3 errors
test-integration/apps.test.ts > With preserved > Should return 200 response - /interaction/anywhere:
test-integration/apps.test.ts#L325
AssertionError: expected '<!DOCTYPE html><html><head><title></t…' to be '<!DOCTYPE html><html><head><title></t…' // Object.is equality
- Expected
+ Received
- <!DOCTYPE html><html><head><title></title></head><body><honox-island component-name="/app/components/$counter.tsx" data-serialized-props="{"initial":5}"><div><p>Count: 5</p><button>Increment</button></div></honox-island><script type="module" async="" src="/app/client.ts"></script></body></html>
+ <!DOCTYPE html><html><head><title></title></head><body><honox-island component-name="D:/a/honox/honox/mocks/app/components/$counter.tsx" data-serialized-props="{"initial":5}"><div><p>Count: 5</p><button>Increment</button></div></honox-island><script type="module" async="" src="/app/client.ts"></script></body></html>
❯ test-integration/apps.test.ts:325:30
|
test-integration/apps.test.ts > With preserved > Should return 200 response - /directory:
test-integration/apps.test.ts#L363
AssertionError: expected '<!DOCTYPE html><html><head><title></t…' to be '<!DOCTYPE html><html><head><title></t…' // Object.is equality
- Expected
+ Received
- <!DOCTYPE html><html><head><title></title></head><body><honox-island component-name="/app/routes/directory/_Counter.island.tsx" data-serialized-props="{"id":"under-score","initial":5}"><div id="under-score"><p>UnderScoreCount: 5</p><button>UnderScore Increment</button></div></honox-island><honox-island component-name="/app/routes/directory/$counter.tsx" data-serialized-props="{"id":"dollar","initial":5}"><div id="dollar"><p>DollarCount: 5</p><button>Dollar Increment</button></div></honox-island><script type="module" async="" src="/app/client.ts"></script></body></html>
+ <!DOCTYPE html><html><head><title></title></head><body><honox-island component-name="D:/a/honox/honox/mocks/app/routes/directory/_Counter.island.tsx" data-serialized-props="{"id":"under-score","initial":5}"><div id="under-score"><p>UnderScoreCount: 5</p><button>UnderScore Increment</button></div></honox-island><honox-island component-name="D:/a/honox/honox/mocks/app/routes/directory/$counter.tsx" data-serialized-props="{"id":"dollar","initial":5}"><div id="dollar"><p>DollarCount: 5</p><button>Dollar Increment</button></div></honox-island><script type="module" async="" src="/app/client.ts"></script></body></html>
❯ test-integration/apps.test.ts:363:30
|
ci-windows
Process completed with exit code 1.
|