Skip to content

Commit

Permalink
move .gitignore back to root, add log for exporting integration tests…
Browse files Browse the repository at this point in the history
… without api key
  • Loading branch information
LeonOstrez committed Jun 20, 2023
1 parent 4f796f2 commit fc24759
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/.gitignore → .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ dist
.tern-port


../.idea/
.idea/
package-lock.json
test.js

# Pythagora
.pythagora/
pythagora_tests/
.github
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pythagora",
"version": "0.0.66",
"version": "0.0.67",
"author": {
"name": "Zvonimir Sabljic",
"email": "[email protected]"
Expand Down
4 changes: 3 additions & 1 deletion src/commands/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const {
getJestTest,
getJestTestName,
isEligibleForExport,
cleanupGPTResponse
cleanupGPTResponse,
checkForAPIKey
} = require("../helpers/api");
const _ = require('lodash');
const args = require('../utils/getArgs.js');
Expand Down Expand Up @@ -129,6 +130,7 @@ function saveExportJson(exportsMetadata, test, testName) {
}

(async () => {
checkForAPIKey();
setUpPythagoraDirs();
cleanupDataFolder();
let exportsMetadata = JSON.parse(fs.readFileSync(`./${PYTHAGORA_METADATA_DIR}/${EXPORT_METADATA_FILENAME}`));
Expand Down

0 comments on commit fc24759

Please sign in to comment.