UNPKG

gauge-ts

Version:
17 lines (16 loc) 626 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Gauge = void 0; const Screenshot_1 = require("../screenshot/Screenshot"); const MessageStore_1 = require("../stores/MessageStore"); const ScreenshotStore_1 = require("../stores/ScreenshotStore"); // biome-ignore lint/complexity/noStaticOnlyClass: <explanation> class Gauge { static async captureScreenshot() { ScreenshotStore_1.ScreenshotStore.addScreenshot(await Screenshot_1.Screenshot.capture()); } static writeMessage(message) { MessageStore_1.MessageStore.addMessage(message); } } exports.Gauge = Gauge;