(res, envName, project)
| 16 | createProject: (name) => { |
| 17 | store.saving() |
| 18 | const createSampleUser = (res, envName, project) => |
| 19 | data |
| 20 | .post( |
| 21 | `${Project.api}environments/${ |
| 22 | res.api_key |
| 23 | }/${Utils.getIdentitiesEndpoint(project)}/`, |
| 24 | { |
| 25 | environment: res.id, |
| 26 | identifier: `${envName}_user_123456`, |
| 27 | }, |
| 28 | ) |
| 29 | .then(() => res) |
| 30 | if ( |
| 31 | AccountStore.model.organisations.length === 1 && |
| 32 | (!store.model.projects || !store.model.projects.length) |
no test coverage detected