13 lines
373 B
TypeScript
Raw Normal View History

2021-09-03 14:41:29 +02:00
import { MockProvider } from '@ethereum-waffle/provider'
2021-08-06 14:50:36 +02:00
import { expect } from 'chai'
2021-08-09 11:57:02 +02:00
import { Waku } from 'js-waku'
import { WakuVoting } from '../src'
2021-08-06 14:50:36 +02:00
2021-08-09 11:57:02 +02:00
describe('WakuVoting', () => {
it('success', async () => {
2021-09-03 14:41:29 +02:00
const wakuVoting = await WakuVoting.create('test', '0x0', new MockProvider(), {} as unknown as Waku)
2021-08-09 11:57:02 +02:00
expect(wakuVoting).to.not.be.undefined
2021-08-06 14:50:36 +02:00
})
})