There was an error while loading. Please reload this page.
1 parent 6b7b00f commit 8af34d3Copy full SHA for 8af34d3
test/index.js
@@ -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