remove test

pull/13032/head
Simon Holthausen 3 months ago
parent 61bae04e3f
commit fa43304329

@ -1,19 +0,0 @@
import { test } from '../../test';
export default test({
server_props: {
browser: false
},
props: {
browser: true
},
test(assert, target) {
assert.equal(target.querySelector('a')?.getAttribute('href'), '/bar');
},
errors: [
'The `href` attribute on `<a href="/bar">...</a>` changed its value between server and client renders. The client value, `/foo`, will be ignored in favour of the server value'
]
});

@ -1,5 +0,0 @@
<script>
let { browser } = $props();
</script>
<a href={browser ? '/foo': '/bar'}>foo</a>
Loading…
Cancel
Save