Remove .only from moderation.spec.js

@aonomike @vbelolapotkov you made it!! You are the best.

Sure, the disable/enable can be improved by returning a union type. But
I leave that for another PR. 👍
This commit is contained in:
roschaefer 2019-09-20 18:27:37 +02:00
parent 347f37efe4
commit 1952d63b3c

View File

@ -118,7 +118,7 @@ describe('moderate resources', () => {
variables = {
id: 'sample-tag-id',
}
await Promise.all([factory.create('Tag', { id: 'sample-tag-id' })])
await factory.create('Tag', { id: 'sample-tag-id' })
})
it('returns null', async () => {
@ -332,7 +332,7 @@ describe('moderate resources', () => {
await expect(query({ query: postQuery, variables })).resolves.toMatchObject(expected)
})
it.only('updates .disabled on post', async () => {
it('updates .disabled on post', async () => {
const expected = {
data: { Post: [{ id: 'post-id', disabled: false }] },
errors: undefined,