fix(server): various fixes related to subs + further improved utils + way quicker tests (#3573)
* fixed test util throwing + added new tests * more tests * more tests * various model tests * version tests * removed shitty old tests * lint fix * workspaceProjectsUpdated test * workspace updated on invite * workspace subs support team changes * tests fix * test fix hopefully?
This commit is contained in:
committed by
GitHub
parent
75d2372719
commit
51579b76ef
@@ -732,14 +732,19 @@ describe('Workspaces GQL CRUD', () => {
|
||||
})
|
||||
|
||||
describe('mutation workspaceMutations.update', () => {
|
||||
const workspace = {
|
||||
const workspace: BasicTestWorkspace = {
|
||||
id: '',
|
||||
slug: '',
|
||||
ownerId: '',
|
||||
name: cryptoRandomString({ length: 6 }),
|
||||
description: cryptoRandomString({ length: 12 })
|
||||
}
|
||||
|
||||
beforeEach(async () => {
|
||||
// we want a new workspace for each test
|
||||
workspace.id = ''
|
||||
workspace.slug = ''
|
||||
|
||||
await createTestWorkspace(workspace, testAdminUser)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user