temporary fix, we should come up with something better than this

proxied-state-set
Rich Harris 10 months ago
parent 2bc7c03241
commit 28462a5ef7

@ -4,6 +4,6 @@ export default test({
error: { error: {
code: 'invalid-derived-export', code: 'invalid-derived-export',
message: 'Cannot export derived state', message: 'Cannot export derived state',
position: [24, 66] position: process.platform === 'win32' ? [26, 68] : [24, 66]
} }
}); });

@ -4,6 +4,6 @@ export default test({
error: { error: {
code: 'invalid-state-export', code: 'invalid-state-export',
message: 'Cannot export state if it is reassigned', message: 'Cannot export state if it is reassigned',
position: [46, 86] position: process.platform === 'win32' ? [50, 90] : [46, 86]
} }
}); });

Loading…
Cancel
Save