mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-23 03:55:56 +00:00
macos skip insecure test
This commit is contained in:
parent
dcb07a5e2e
commit
3a61b2f6ab
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@ const { UP, DOWN, PENDING } = require("../../src/util");
|
||||||
|
|
||||||
describe("Websocket Test", {
|
describe("Websocket Test", {
|
||||||
}, () => {
|
}, () => {
|
||||||
test("Non Websocket Server", async () => {
|
test("Non Websocket Server", {}, async () => {
|
||||||
const websocketMonitor = new websocket();
|
const websocketMonitor = new websocket();
|
||||||
|
|
||||||
const monitor = {
|
const monitor = {
|
||||||
|
@ -41,7 +41,9 @@ describe("Websocket Test", {
|
||||||
assert.strictEqual(heartbeat.msg, "101 - OK");
|
assert.strictEqual(heartbeat.msg, "101 - OK");
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Insecure Websocket", async () => {
|
test("Insecure Websocket", {
|
||||||
|
skip: !!process.env.CI && process.platform === "darwin",
|
||||||
|
}, async () => {
|
||||||
const websocketMonitor = new websocket();
|
const websocketMonitor = new websocket();
|
||||||
|
|
||||||
const monitor = {
|
const monitor = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue