Tweak test

This commit is contained in:
Jamie Curnow 2023-03-30 12:55:20 +10:00
parent 8a4a7d0caf
commit 308a7149ed
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

View File

@ -41,7 +41,7 @@ describe('Hosts endpoints', () => {
expect(data).to.have.property('enabled');
expect(data.enabled).to.be.greaterThan(0);
expect(data).to.have.property('meta');
expect(data.meta.nginx_online).not.to.exist();
expect(typeof data.meta.nginx_online).not.be.equal('undefined');
});
});