Skip to content

Commit a83f9ed

Browse files
authored
Merge pull request #7842 from gioboa/chore/remove-qwik-dom
chore(testing): patch domino to remove qwik-dom 💻
2 parents 45ec5bf + 826324d commit a83f9ed

File tree

7 files changed

+1471
-7
lines changed

7 files changed

+1471
-7
lines changed

.changeset/wise-worlds-hang.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@builder.io/qwik': patch
3+
---
4+
5+
CHORE: use patched domino instead of qwik-dom

packages/qwik/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@builder.io/qwik": "workspace:^",
33-
"@builder.io/qwik-dom": "workspace:^",
33+
"domino": "2.1.6",
3434
"ignore": "5.3.1",
3535
"image-size": "1.1.1",
3636
"kleur": "4.1.5",

packages/qwik/src/testing/document.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { MockDocumentOptions, MockWindow } from './types';
2-
import qwikDom from '@builder.io/qwik-dom';
2+
import domino from 'domino';
33
import { normalizeUrl } from './util';
44

55
/**
@@ -9,7 +9,7 @@ import { normalizeUrl } from './util';
99
* @public
1010
*/
1111
export function createDocument(opts?: MockDocumentOptions) {
12-
const doc = qwikDom.createDocument(opts?.html);
12+
const doc = domino.createDocument(opts?.html);
1313
ensureGlobals(doc, opts);
1414
return doc;
1515
}

0 commit comments

Comments
 (0)