Skip to content

Commit 24070c4

Browse files
committed
Use isSerializationFirstNode in _renderMode test
1 parent 8ab5df8 commit 24070c4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/ember-application/tests/system/visit_test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Application from '../../system/application';
1010
import ApplicationInstance from '../../system/application-instance';
1111
import Engine from '../../system/engine';
1212
import { Route } from 'ember-routing';
13-
import { Component, helper } from 'ember-glimmer';
13+
import { Component, helper, isSerializationFirstNode } from 'ember-glimmer';
1414
import { compile } from 'ember-template-compiler';
1515
import { ENV } from 'ember-environment';
1616

@@ -70,9 +70,8 @@ moduleFor('Application - visit()', class extends ApplicationTestCase {
7070

7171
return this.visit('/', bootOptions)
7272
.then((instance) => {
73-
assert.equal(
74-
instance.rootElement.firstChild.nodeValue,
75-
'%+b:0%',
73+
assert.ok(
74+
isSerializationFirstNode(instance.rootElement.firstChild),
7675
'glimmer-vm comment node was not found'
7776
);
7877
}).then(() =>{

0 commit comments

Comments
 (0)