revert test changes

pull/11610/head
Dominic Gannaway 2 years ago
parent 3bf48dea33
commit a06017cb9e

@ -1,5 +1,4 @@
import { DEV } from 'esm-env';
import { STATE_SYMBOL } from '../constants';
import * as w from '../warnings.js';
import { raw } from '../proxy';

@ -17,7 +17,7 @@ export function select_option(select, value, mounting) {
for (var option of select.options) {
var option_value = get_option_value(option);
if (option_value === raw(value)) {
if (raw(option_value) === raw(value)) {
option.selected = true;
return;
}

@ -12,11 +12,11 @@ export default test({
btn1.click();
await tick();
assert.deepEqual(warnings.length, 1);
assert.deepEqual(warnings.length, 0);
btn2.click();
await tick();
assert.deepEqual(warnings.length, 2);
assert.deepEqual(warnings.length, 1);
}
});

Loading…
Cancel
Save