dappconnect-vote-poll-sdk/packages/core/test/index.test.ts

12 lines
230 B
TypeScript
Raw Normal View History

2021-08-06 12:50:36 +00:00
import { expect } from 'chai'
import { foo } from '../src'
describe('test', () => {
it('foo', async () => {
expect(foo()).to.eq('Hello world')
})
it('not foo', async () => {
expect(foo()).to.not.eq('asdas')
})
})