Skip to content

Commit 8141a18

Browse files
Copilotdgreif
andcommitted
Address code review feedback and update README
Co-authored-by: dgreif <[email protected]>
1 parent bcdbb63 commit 8141a18

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ Browsers without native [custom element support][support] require a [polyfill][]
6868

6969
```
7070
npm install
71+
npx playwright install chromium
7172
npm test
7273
```
7374

75+
Note: Tests use Vitest with Playwright browser mode. The `npx playwright install chromium` command downloads the browser needed for running tests.
76+
7477
## License
7578

7679
Distributed under the MIT license. See LICENSE for details.

test/test.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('remoteForm', function () {
99
document.body.innerHTML = `
1010
<form action="/ok" class="my-remote-form remote-widget" method="post" target="submit-fallback">
1111
<input name="query" value="hello">
12-
<button type="submit">Submit<button>
12+
<button type="submit">Submit</button>
1313
</form>
1414
1515
<iframe name="submit-fallback" style="display: none"></iframe>

vitest.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ export default defineConfig({
88
instances: [
99
{
1010
browser: 'chromium',
11-
launch: {
12-
executablePath: '/usr/bin/chromium-browser',
13-
},
1411
},
1512
],
1613
headless: true,

0 commit comments

Comments
 (0)