qa 0.0.17 → 0.0.19
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.
- package/dist/api.js +3 -1
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export async function pullTestSuite(client, project) {
|
|
2
|
-
const apis = await client.specifications.get()
|
|
2
|
+
const apis = await client.specifications.get().catch((error) => {
|
|
3
|
+
throw new Error(`Failed to fetch APIs: ${error} (${error.cause.code})`);
|
|
4
|
+
});
|
|
3
5
|
if (apis.status !== 200) {
|
|
4
6
|
const error = apis.status === 401 ? apis.body.error : 'unknown';
|
|
5
7
|
throw new Error(`Failed to fetch APIs: ${error}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qa",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"author": "Christian Bromann <christian@codeless.qa>",
|
|
5
5
|
"description": "Codeless QA CLI",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"@types/yargs": "^17.0.32",
|
|
17
17
|
"openapi-types": "^12.1.3",
|
|
18
18
|
"tap-mocha-reporter": "^5.0.4",
|
|
19
|
-
"uuid": "^
|
|
19
|
+
"uuid": "^11.0.3",
|
|
20
20
|
"ws": "^8.17.0",
|
|
21
21
|
"yargs": "^17.7.2",
|
|
22
|
-
"@codeless.qa/contracts": "0.0.
|
|
22
|
+
"@codeless.qa/contracts": "0.0.9"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"replace-in-files-cli": "^3.0.0",
|
|
26
|
-
"typescript": "5.6.
|
|
26
|
+
"typescript": "^5.6.3"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "run-s build:*",
|