Skip to content

Commit

Permalink
Resolved lint error 0509
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdwashin9 committed Feb 20, 2025
1 parent 8cdec2d commit 362e9a0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/onPinClicked.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ describe('onPinClicked', () => {
// ✅ Setup a fresh DOM before each test
beforeEach(() => {
const dom = new JSDOM(`
<!DOCTYPE html>
<html>
<body>
<div component="topic">
<div data-pid="1">Post 1</div>
<div data-pid="2">Post 2</div>
<div data-pid="3">Post 3</div>
</div>
</body>
</html>
`);
<!DOCTYPE html>
<html>
<body>
<div component="topic">
<div data-pid="1">Post 1</div>
<div data-pid="2">Post 2</div>
<div data-pid="3">Post 3</div>
</div>
</body>
</html>
`);
document = dom.window.document;
});

Expand Down

0 comments on commit 362e9a0

Please sign in to comment.