test github secret

This commit is contained in:
LouisLam 2021-10-05 21:11:11 +08:00
parent b7ae49c644
commit 7c98fe603e
1 changed files with 6 additions and 0 deletions

View File

@ -9,7 +9,13 @@ const { sleep } = require("../src/util");
page; page;
beforeAll(() => { beforeAll(() => {
if (process.env.JUST_FOR_TEST) {
console.log(process.env.JUST_FOR_TEST);
if (process.env.JUST_FOR_TEST === "JUST_FOR_TEST_HELLO") {
console.log("secret ok");
}
}
}); });
afterAll(() => { afterAll(() => {