1 | /**
|
2 | * Test case for amocha.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const amocha = require('../lib/amocha.js')
|
8 | const assert = require('assert')
|
9 |
|
10 |
|
11 | describe('amocha', function () {
|
12 | this.timeout(3000)
|
13 |
|
14 | before(async () => {
|
15 |
|
16 | })
|
17 |
|
18 | after(async () => {
|
19 |
|
20 | })
|
21 |
|
22 | it('Amocha', async () => {
|
23 | await amocha(
|
24 | 'mocks/*test*.js',
|
25 | {
|
26 | cwd: `${__dirname}/../misc`
|
27 | }
|
28 | )
|
29 | })
|
30 | })
|
31 |
|
32 | /* global describe, before, after, it */
|