fixed script errors & added tests

This commit is contained in:
undergroundwires
2020-07-15 03:18:38 +01:00
parent 646a8e0b9f
commit 9e722ddfb3
5 changed files with 26 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
import applicationFile from 'js-yaml-loader!@/application/application.yaml';
import { parseApplication } from '@/application/Parser/ApplicationParser';
import 'mocha';
import { expect } from 'chai';
describe('ApplicationParser', () => {
describe('parseApplication', () => {
it('can parse current application file', () => {
expect(() => parseApplication(applicationFile)).to.not.throw();
});
});
});