Skip to content

Commit 8af34d3

Browse files
committed
add basic testing
1 parent 6b7b00f commit 8af34d3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import test from 'ava'
2+
import Bot, { Messages } from '../src'
3+
const ES5Bot = require('../src')
4+
5+
test('Sanity', t => t.is(true, !false))
6+
7+
test('ES6', t => t.is(typeof Bot, 'function'))
8+
9+
test('ES6 Messages', t => t.is(typeof Messages, 'function'))
10+
11+
test('ES5', t => t.is(typeof ES5Bot, 'function'))
12+
13+
test('ES5 Messages', t => t.is(typeof ES5Bot.Messages, 'function'))

0 commit comments

Comments
 (0)