Skip to content

Commit 34b1a40

Browse files
committed
remove unused dependencies, fix typo
1 parent b855100 commit 34b1a40

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pythagora",
3-
"version": "0.0.55",
3+
"version": "0.0.57",
44
"author": {
55
"name": "Zvonimir Sabljic",
66
"email": "[email protected]"
@@ -30,10 +30,8 @@
3030
"jest": "^29.5.0",
3131
"lodash": "^4.17.21",
3232
"nyc": "^15.1.0",
33-
"openai": "^3.2.1",
3433
"tryrequire": "^3.0.0",
35-
"uuid": "^9.0.0",
36-
"gpt3-tokenizer": "^1.1.5"
34+
"uuid": "^9.0.0"
3735
},
3836
"contributors": [
3937
{

src/patches/mongo-collection.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
const _ = require('lodash');
2-
const {PYTHAGORA_JEST_DB} = require("../const/mongodb");
32

43
module.exports = function (mongoPath) {
54
const originalCollection = require(`${mongoPath}/lib/collection`);
6-
const pythagoraErrors = require('../const/errors');
7-
const {MONGO_METHODS, PYTHAGORA_DB} = require('../const/mongodb');
5+
const {MONGO_METHODS, PYTHAGORA_DB, PYTHAGORA_JEST_DB} = require('../const/mongodb');
86
const {
97
getCurrentMongoDocs,
108
extractArguments,

src/templates/jest-global-setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = async () => {
22

33
// function that sets up Mongo to be used in tests
4-
// global.setUpMongo = () => {};
4+
// global.setUpDb = () => {};
55

66
// function that cleans up the database after tests are done
7-
// global.cleanUpMongo = () => {};
7+
// global.cleanUpDb = () => {};
88

99
// function that returns a Mongo collection so that tests can query the database
1010
// global.getMongoCollection = (collection) => {};

0 commit comments

Comments
 (0)