Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Oct 22, 2023
1 parent 34404d9 commit 3ecd968
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions test/spec/curation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,12 @@ describe('Curation Module', () => {
})

it('creates collaborative curations', async () => {
const curationId = await authenticatedCurations.create('collaborative', {
title: 'My Collaborative Curation'
})
const curationId = await authenticatedCurations.create(
'collaborative',
{
title: 'My Collaborative Curation'
}
)

expect(curationId).to.equal(MOCK_CONTRACT_TX_ID)
expect(warpMock.deployFromSourceTx.calledOnce).to.be.true
Expand Down Expand Up @@ -144,13 +147,14 @@ describe('Curation Module', () => {
expect(
contractData.tags?.some(tag => {
return tag.get('name') === 'Contract-Name'
&& tag.get('value') === 'Collaborative-Whitelist-Curation-Contract'
&& tag.get('value')
=== 'Collaborative-Whitelist-Curation-Contract'
})
).to.be.true
})
})

context('Curation Owner', async () => {
context('Curation Owner', () => {
it('allows setting alternate owner on deployment', async () => {
await authenticatedCurations.create('ownable', {
title: 'My Alternate Owner Curation',
Expand Down

0 comments on commit 3ecd968

Please sign in to comment.