@autifyhq/autify-cli 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const core_1 = require("@oclif/core");
5
- const node_emoji_1 = tslib_1.__importDefault(require("node-emoji"));
5
+ const emoji = tslib_1.__importStar(require("node-emoji"));
6
6
  const parseTestResultUrl_1 = require("../../../autify/web/parseTestResultUrl");
7
7
  const waitTestResult_1 = require("../../../autify/web/waitTestResult");
8
8
  const getTestResultUrl_1 = require("../../../autify/web/getTestResultUrl");
@@ -16,18 +16,18 @@ class WebTestWait extends core_1.Command {
16
16
  const client = (0, getWebClient_1.getWebClient)(configDir, userAgent);
17
17
  const { workspaceId, resultId } = (0, parseTestResultUrl_1.parseTestResultUrl)(args["test-result-url"]);
18
18
  const testResultUrl = (0, getTestResultUrl_1.getWebTestResultUrl)(configDir, workspaceId, resultId);
19
- this.log(`${node_emoji_1.default.get("clock1")} Waiting for the test result: ${testResultUrl}`);
19
+ this.log(`${emoji.get("clock1")} Waiting for the test result: ${testResultUrl}`);
20
20
  const { isPassed, data } = await (0, waitTestResult_1.waitTestResult)(client, workspaceId, resultId, {
21
21
  timeoutSecond: flags.timeout,
22
22
  verbose: flags.verbose,
23
23
  intervalSecond: waitIntervalSecond,
24
24
  });
25
25
  if (isPassed) {
26
- this.log(`${node_emoji_1.default.get("white_check_mark")} Test passed!: ${testResultUrl}`);
26
+ this.log(`${emoji.get("white_check_mark")} Test passed!: ${testResultUrl}`);
27
27
  this.exit();
28
28
  }
29
29
  else {
30
- this.log(`${node_emoji_1.default.get("x")} Test didn't pass. See ${testResultUrl}: ${JSON.stringify(data)}`);
30
+ this.log(`${emoji.get("x")} Test didn't pass. See ${testResultUrl}: ${JSON.stringify(data)}`);
31
31
  this.exit(1);
32
32
  }
33
33
  }