aboutsummaryrefslogtreecommitdiffstats
path: root/test.js
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2018-08-16 18:55:13 +0300
committerJan Tuomi <jan.tuomi@eficode.com>2018-08-16 18:55:13 +0300
commit331b2cd1e8f26c49f923038ee392a903f458c229 (patch)
treef6e15d9443982d9cc4ea0698c38a6c84285de286 /test.js
parent3027d0cc61dd6e14b4cd665c4062273c6051420d (diff)
Add ava for testing
Diffstat (limited to 'test.js')
-rw-r--r--test.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test.js b/test.js
new file mode 100644
index 0000000..7d1f76a
--- /dev/null
+++ b/test.js
@@ -0,0 +1,6 @@
+import test from 'ava';
+import main from './index';
+
+test('Test main', (t) => {
+ t.is(main(), 'Yea boi');
+});