Skip to content

Commit

Permalink
added a missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
cjreimer committed Jun 17, 2021
1 parent b9ee19a commit 5016bd7
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,16 @@ describe('Admin/Post', () => {
])
})

test('the index component correctly imports the QUERY', async () => {
expect(
filesUpper[
path.normalize(
'/path/to/project/web/src/components/Admin/Post/Posts/Posts.js'
)
]
).toMatch(`import { QUERY } from 'src/components/Admin/Post/PostsCell'`)
})

test('the new component correctly imports the form', async () => {
expect(
filesUpper[
Expand Down

0 comments on commit 5016bd7

Please sign in to comment.