Skip to content

Commit 83b202f

Browse files
authored
Update test/basic.spec.js
1 parent 9976059 commit 83b202f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/basic.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ describe("Basic Suite", function() {
151151
testComponent.classList.add('container');
152152
const testComponents = querySelectorAllDeep(`.container > div > .header-2 > .find-me`);
153153
expect(testComponents.length).toEqual(1);
154+
expect(testComponents[0].classList.contains('find-me')).toEqual(true);
154155
});
155156

156157
it('can handle extra white space in selectors', function() {
@@ -396,4 +397,4 @@ describe("Basic Suite", function() {
396397
});
397398

398399

399-
});
400+
});

0 commit comments

Comments
 (0)