mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
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:
parent
347f37efe4
commit
1952d63b3c
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user