chore: silence some pesky logs (#16241)

pull/16247/head
Rich Harris 3 months ago committed by GitHub
parent 0b2b9c724f
commit da2feafe67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,5 +5,9 @@ export default test({
compileOptions: {
dev: true
},
error: 'state_unsafe_mutation'
error: 'state_unsafe_mutation',
// silence the logs
test({ logs }) {}
});

@ -6,7 +6,7 @@ export default test({
compileOptions: {
runes: undefined
},
async test({ assert, target }) {
async test({ assert, target, logs }) {
const p = target.querySelector('p');
const btn = target.querySelector('button');
flushSync(() => {

Loading…
Cancel
Save