Skip to content

Commit

Permalink
Restructure e2e store folder
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Apr 18, 2023
1 parent 2a37347 commit 1dec327
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 14 deletions.
3 changes: 3 additions & 0 deletions tests/e2e/support/store/creationStore/group.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Group } from '../../types'

export const createdGroupStore = new Map<string, Group>()
3 changes: 3 additions & 0 deletions tests/e2e/support/store/creationStore/link.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Link } from '../../types'

export const createdLinkStore = new Map<string, Link>()
3 changes: 3 additions & 0 deletions tests/e2e/support/store/creationStore/space.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Space } from '../../types'

export const createdSpaceStore = new Map<string, Space>()
3 changes: 3 additions & 0 deletions tests/e2e/support/store/creationStore/user.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { User } from '../../types'

export const createdUserStore = new Map<string, User>()
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Group } from '../types'
import { Group } from '../../types'

export const groupStore = new Map<string, Group>([
export const dummyGroupStore = new Map<string, Group>([
[
'security',
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { User } from '../types'
import { User } from '../../types'

export const userStore = new Map<string, User>([
export const dummyUserStore = new Map<string, User>([
[
'admin',
{
Expand Down
10 changes: 6 additions & 4 deletions tests/e2e/support/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export { actorStore } from './actor'
export { linkStore } from './link'
export { spaceStore } from './space'
export { userStore } from './user'
export { groupStore } from './group'
export { userRoleStore } from './role'
export { createdLinkStore } from './creationStore/link'
export { createdSpaceStore } from './creationStore/space'
export { createdUserStore } from './creationStore/user'
export { createdGroupStore } from './creationStore/group'
export { dummyUserStore } from './dummyStore/user'
export { dummyGroupStore } from './dummyStore/group'
3 changes: 0 additions & 3 deletions tests/e2e/support/store/link.ts

This file was deleted.

3 changes: 0 additions & 3 deletions tests/e2e/support/store/space.ts

This file was deleted.

0 comments on commit 1dec327

Please sign in to comment.