Skip to content

Commit 308a714

Browse files
committed
Tweak test
1 parent 8a4a7d0 commit 308a714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cypress/integration/api/Hosts.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('Hosts endpoints', () => {
4141
expect(data).to.have.property('enabled');
4242
expect(data.enabled).to.be.greaterThan(0);
4343
expect(data).to.have.property('meta');
44-
expect(data.meta.nginx_online).not.to.exist();
44+
expect(typeof data.meta.nginx_online).not.be.equal('undefined');
4545
});
4646
});
4747

0 commit comments

Comments
 (0)