🐛 #23 Fix throw error when file doesn't exist
* #23 Fix throw error when file doesn't exist Run all the tests in once without special runner Add positive scenario Move coverage to the backend build workflow
This commit is contained in:
@@ -156,11 +156,13 @@ export class TestDbService {
|
||||
}
|
||||
|
||||
this.users.push(createdUser);
|
||||
await gr.services.companies.setUserRole(
|
||||
this.company ? this.company.id : workspacesPk[0].company_id,
|
||||
createdUser.id,
|
||||
options.companyRole ? options.companyRole : "member",
|
||||
);
|
||||
if (workspacesPk && workspacesPk.length) {
|
||||
await gr.services.companies.setUserRole(
|
||||
this.company ? this.company.id : workspacesPk[0].company_id,
|
||||
createdUser.id,
|
||||
options.companyRole ? options.companyRole : "member",
|
||||
);
|
||||
}
|
||||
|
||||
if (workspacesPk && workspacesPk.length) {
|
||||
for (const workspacePk of workspacesPk) {
|
||||
|
||||
Reference in New Issue
Block a user