@autifyhq/autify-cli-integration-test 0.7.2 → 0.8.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,19 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.testAutifyCliSnapshot = void 0;
|
|
4
4
|
/* eslint-disable unicorn/filename-case */
|
|
5
|
-
const node_process_1 = require("node:process");
|
|
6
5
|
const execAutifyCli_1 = require("../helpers/execAutifyCli");
|
|
7
|
-
const isSkip = (command) => {
|
|
8
|
-
// Windows doesn't support autify mobile with iOS app upload so far.
|
|
9
|
-
if (node_process_1.platform === "win32" &&
|
|
10
|
-
command.startsWith("mobile") &&
|
|
11
|
-
command.includes(".app")) {
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
};
|
|
16
6
|
const testAutifyCliSnapshot = (command) => {
|
|
17
|
-
|
|
7
|
+
test(`autify ${command}`, async () => {
|
|
18
8
|
expect(await (0, execAutifyCli_1.execAutifyCli)(command)).toMatchSnapshot();
|
|
19
9
|
}, 300000);
|
|
20
10
|
};
|