webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.13k stars 165 forks source link

Update custom elements polyfill test files' extensions from `.html` to `.test.html`. #512

Closed bicknellr closed 2 years ago

bicknellr commented 2 years ago

This is part of the migration to @web/test-runner, which uses file globs to determine which files should be considered runnable test suites. Changing the file extensions for all test-containing HTML allows them to be distinguished from non-test HTML files (i.e. HTML imports) by path alone. This will also significantly reduce the diff of https://github.com/webcomponents/polyfills/pull/509, within which git is currently struggling to correctly associate files across renames.