Skip to content

Commit

Permalink
Debug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-orlik committed Jun 27, 2024
1 parent f7cd171 commit ad64e6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('custom-html', () => {
},
}
handler(fakeEvent)
console.log({executedJS});

Check failure on line 29 in src/index.test.ts

View workflow job for this annotation

GitHub Actions / build-test (18.x)

Replace `executedJS});` with `·executedJS·})`
expect(executedJS).toHaveLength(3)
expect(executedJS[0]).toEqual(
"const d = document.createElement('div');d.innerHTML = `<p>some text</p>\n" +
Expand Down

0 comments on commit ad64e6a

Please # to comment.