diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-20 00:31:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 05:31:45 +0000 |
commit | 0a0994ca64fceafde05997d93e5ca7d6e5baa7b2 (patch) | |
tree | c876ddcf63171ff1121f1e46799c2515e63ad370 /test/dom-text-scanner.test.js | |
parent | 3c226215419ca815712e9568f7d871a96f5ff1cf (diff) |
HTML test updates (#398)
* Rename y-test to test-case
* Rename y-description to test-description
* Remove extension name
* Update placeholder favicon
* Refactor scripts
* Make element types more consistent
* More updates
* Rename
* Simplify file URLs
* Rename file
* Add descriptions
* Rename
* Rename
* Rename
Diffstat (limited to 'test/dom-text-scanner.test.js')
-rw-r--r-- | test/dom-text-scanner.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dom-text-scanner.test.js b/test/dom-text-scanner.test.js index f53e326d..da38d24c 100644 --- a/test/dom-text-scanner.test.js +++ b/test/dom-text-scanner.test.js @@ -102,14 +102,14 @@ function createAbsoluteGetComputedStyle(window) { } -const test = createDomTest(path.join(dirname, 'data/html/test-dom-text-scanner.html')); +const test = createDomTest(path.join(dirname, 'data/html/dom-text-scanner.html')); describe('DOMTextScanner', () => { test('Seek tests', ({window}) => { const {document} = window; window.getComputedStyle = createAbsoluteGetComputedStyle(window); - for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('y-test'))) { + for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('test-case'))) { /** @type {import('test/dom-text-scanner').TestData|import('test/dom-text-scanner').TestData[]} */ let testData = parseJson(/** @type {string} */ (testElement.dataset.testData)); if (!Array.isArray(testData)) { |