Skip to content

Commit

Permalink
Chore: adds Default run test
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed May 9, 2021
1 parent 8473387 commit 415b557
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/package/configurations.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import { assert } from 'chai';
import entry from '../entry';
import entry, { Chronicle } from '../entry';
import { tmpFolder } from '../constants';

suite('Configurations');

test('Default configuration', function () {
assert.exists(entry);
});

test('Default run', async function () {
assert.exists(Chronicle);
const chronicle = new Chronicle();

await chronicle.save(`${tmpFolder}/default.json`);
});

0 comments on commit 415b557

Please sign in to comment.