aboutsummaryrefslogtreecommitdiff
path: root/test/dom-text-scanner.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/dom-text-scanner.test.js')
-rw-r--r--test/dom-text-scanner.test.js4
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)) {