diff --git a/scripts/test.js b/scripts/test.js deleted file mode 100644 index 45a8049d..00000000 --- a/scripts/test.js +++ /dev/null @@ -1,93 +0,0 @@ -const JuejinHelper = require('juejin-helper'); -const email = require("./utils/email"); -const env = require("./utils/env"); - -const CheckInState = { - no: -1, - success: 1, - error: 0 -} - -class CheckIn { - state = { - simulateSpeed: 100, // ms/进行一次抽奖 - sumPoint: 0, - pointCost: 0, - supplyPoint: 0, - freeCount: 0, - luckyValue: 0, - lottery: [], - counter: 0, - prize: {}, - checkInState: CheckInState.no - }; - - juejin = new JuejinHelper(); - - static async run() { - email({ - subject: "掘金每日签到", - html: ` -