UNPKG
generator-arvis
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Scaffold out an Arvis extension
generator-arvis
/
app
/
templates
/
test.js
15 lines
(12 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
test
from
'ava'
;
import
arvishTest
from
'arvish-test'
;
test
(
async
t => {
const
arvish =
arvishTest
();
const
result =
await
arvish
(
'node index.js Rainbow'
); t.
deepEqual
(result, [ {
title
:
'Unicorn'
,
subtitle
:
'Rainbow'
} ]); });