Skip to content

Commit fc24759

Browse files
committed
move .gitignore back to root, add log for exporting integration tests without api key
1 parent 4f796f2 commit fc24759

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/.gitignore renamed to .gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ dist
104104
.tern-port
105105

106106

107-
../.idea/
107+
.idea/
108108
package-lock.json
109109
test.js
110110

111111
# Pythagora
112112
.pythagora/
113-
pythagora_tests/
113+
.github

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pythagora",
3-
"version": "0.0.66",
3+
"version": "0.0.67",
44
"author": {
55
"name": "Zvonimir Sabljic",
66
"email": "[email protected]"

src/commands/export.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const {
2424
getJestTest,
2525
getJestTestName,
2626
isEligibleForExport,
27-
cleanupGPTResponse
27+
cleanupGPTResponse,
28+
checkForAPIKey
2829
} = require("../helpers/api");
2930
const _ = require('lodash');
3031
const args = require('../utils/getArgs.js');
@@ -129,6 +130,7 @@ function saveExportJson(exportsMetadata, test, testName) {
129130
}
130131

131132
(async () => {
133+
checkForAPIKey();
132134
setUpPythagoraDirs();
133135
cleanupDataFolder();
134136
let exportsMetadata = JSON.parse(fs.readFileSync(`./${PYTHAGORA_METADATA_DIR}/${EXPORT_METADATA_FILENAME}`));

0 commit comments

Comments
 (0)