Skip to content

Commit

Permalink
test: undo test setup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshah98 committed Dec 2, 2023
1 parent d1603e3 commit 4047299
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dom/test/serialize-inputs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import serializeDOM from '@percy/dom';
describe('serializeInputs', () => {
let cache = { shadow: {}, plain: {} };

beforeAll(async () => {
platforms.forEach((platform) => {
withExample(`
beforeEach(async () => {
withExample(`
<form>
<label for="name">Name</label>
<input id="name" type="text" />
Expand Down Expand Up @@ -43,6 +42,7 @@ describe('serializeInputs', () => {
<textarea id="feedback"></textarea>
</form>
`);
platforms.forEach((platform) => {
const dom = platformDOM(platform);
dom.querySelector('#name').value = 'Bob Boberson';
dom.querySelector('#valueAttr').value = 'Replacement Value!';
Expand Down

0 comments on commit 4047299

Please sign in to comment.