Publish v0.8.0-next.15
#5
Annotations
10 errors
Run bun run test:
test/setup.ts#L16
at setupMocks (/home/runner/work/stage1/stage1/test/setup.ts:16:11)
at /home/runner/work/stage1/stage1/test/setup.ts:23:1
|
Run bun run test:
test/unit/runtime.test.ts#L124
Expected: "<div><pre>\n a\n b\n c\n\n\n <span> Foo </span>\n </pre><span>Bar</span><code>\n <span>\n Baz\n </span>\n </code></div>"
Received: "<div><pre>\n a\n b\n c\n\n\n <span> Foo </span>\n </pre><span>Bar</span><code>\n <span>\n Baz\n </span>\n </code></div>"
at /home/runner/work/stage1/stage1/test/unit/runtime.test.ts:124:44
|
Run bun run test:
test/unit/runtime.test.ts#L318
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L353
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L390
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L418
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L443
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L468
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorElement extends HTMLElement],
|
Run bun run test:
test/unit/runtime.test.ts#L244
Expected constructor: [class Text extends Text]
Received value: Text {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
|
Run bun run test:
test/unit/browser-runtime.test.ts#L180
Expected constructor: [class HTMLDivElement extends HTMLElement]
Received value: HTMLElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: HTMLDivElement {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: DocumentFragment {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: false,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 11,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
[Circular]
],
[Symbol(elementArray)]: [
[Circular]
],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: HTMLDocument {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map(2) {
"click": [],
"abort": [],
},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: null,
[Symbol(nodeType)]: 9,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [
DocumentType {
[Symbol(listeners)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(listenerOptions)]: {
capturing: Map {},
bubbling: Map {},
},
[Symbol(isConnected)]: true,
[Symbol(parentNode)]: [Circular],
[Symbol(nodeType)]: 10,
[Symbol(rootNode)]: [Circular],
[Symbol(styleNode)]: null,
[Symbol(textAreaNode)]: null,
[Symbol(formNode)]: null,
[Symbol(selectNode)]: null,
[Symbol(mutationListeners)]: [],
[Symbol(nodeArray)]: [],
[Symbol(elementArray)]: [],
[Symbol(childNodes)]: null,
[Symbol(assignedToSlot)]: null,
[Symbol(cache)]: {
querySelector: Map {},
querySelectorAll: Map {},
matches: Map {},
elementsByTagName: Map {},
elementsByTagNameNS: Map {},
elementByTagName: Map {},
elementById: Map {},
computedStyle: null,
},
[Symbol(affectsCache)]: [],
[Symbol(ownerDocument)]: [Circular],
[Symbol(window)]: GlobalWindow {
Node: [class Node extends EventTarget],
Attr: [class Attr extends Node],
ShadowRoot: [class ShadowRoot extends DocumentFragment],
ProcessingInstruction: [class ProcessingInstruction extends CharacterData],
Element: [class Element extends Node],
CharacterData: [class CharacterData extends Node],
DocumentType: [class DocumentType extends Node],
HTMLAnchorElement: [class HTMLAnchorEleme
|
Loading