소스 검색

Tweak test

Jamie Curnow 2 년 전
부모
커밋
308a7149ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/cypress/integration/api/Hosts.spec.js

+ 1 - 1
test/cypress/integration/api/Hosts.spec.js

@@ -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');
 		});
 	});