Skip to content

Commit ddeacab

Browse files
committed
Fix Availability.spec.js
1 parent c800a2e commit ddeacab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/components/DocumentationTopic/Summary/Availability.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe('Availability', () => {
149149
});
150150

151151
describe('with API Changes', () => {
152-
it('sets changes classes for platforms that have changed', () => {
152+
it('sets changes classes for platforms that have changed', async () => {
153153
store.state.apiChanges = {
154154
[provide.identifier]: {
155155
availability: {
@@ -175,6 +175,7 @@ describe('Availability', () => {
175175
},
176176
};
177177

178+
await wrapper.vm.$nextTick();
178179
const pills = wrapper.findAll('.technology, .platform');
179180

180181
expect(pills.at(2).classes()).toEqual(['platform', 'changed', 'changed-deprecated']);

0 commit comments

Comments
 (0)