Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "ava test/ava-tests/non-saas-tests/* --serial",
"test-all": "ava --timeout=5m --serial",
"test-all": "ava --timeout=5m",
"test-saas": "ava test/ava-tests/saas-tests/* ",
"typeorm": "ts-node -r tsconfig-paths/register ../node_modules/.bin/typeorm",
"migration:generate": "yarn run typeorm migration:generate -d dist/src/shared/config/datasource.config.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test.serial(`${currentTest} should return full found company info for company ad
t.is(foundCompanyInfoRO.hasOwnProperty('name'), true);
t.is(Object.keys(foundCompanyInfoRO).length, 10);
t.is(foundCompanyInfoRO.hasOwnProperty('connections'), true);
t.is(foundCompanyInfoRO.connections.length > 3, true);
t.is(foundCompanyInfoRO.connections.length > 0, true);
t.is(foundCompanyInfoRO.hasOwnProperty('invitations'), true);
t.is(foundCompanyInfoRO.invitations.length, 0);
t.is(Object.keys(foundCompanyInfoRO.connections[0]).length, 7);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ test.serial(`${currentTest} should throw error when update connection without da
.set('Content-Type', 'application/json')
.set('Cookie', token)
.set('Accept', 'application/json');
t.is(createConnectionResponse.status, 201, createConnectionResponse.text);
const createConnectionRO = JSON.parse(createConnectionResponse.text);

delete updateConnection.database;
Expand Down
Loading
Loading