dappconnect-voting-sdk/packages/core/test/index.test.ts

12 lines
292 B
TypeScript
Raw Normal View History

2021-08-06 12:50:36 +00:00
import { expect } from 'chai'
2021-08-09 09:57:02 +00:00
import { Waku } from 'js-waku'
import WakuVoting from '../src'
2021-08-06 12:50:36 +00:00
2021-08-09 09:57:02 +00:00
describe('WakuVoting', () => {
it('success', async () => {
2021-08-10 12:55:47 +00:00
const wakuVoting = await WakuVoting.create('test', '0x0', {} as unknown as Waku)
2021-08-09 09:57:02 +00:00
expect(wakuVoting).to.not.be.undefined
2021-08-06 12:50:36 +00:00
})
})