Integration tests are executed using vue-cli-service with double quotes as following: `vue-cli-service test:unit "tests/integration/**/*.spec.ts"`. Using single quotes (mochajs/mocha#1828) works on macOS and Ubuntu but does not on Windows (tests are not found). Double quotes is the only portable way that works on all three platforms (mochajs/mocha#3136).
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import 'mocha';
|
|
import { expect } from 'chai';
|
|
import { parseApplication } from '@/application/Parser/ApplicationParser';
|
|
|
|
describe('ApplicationParser', () => {
|
|
describe('parseApplication', () => {
|
|
it('can parse current application', () => {
|
|
// act
|
|
const act = () => parseApplication();
|
|
// assert
|
|
expect(act).to.not.throw();
|
|
});
|
|
});
|
|
});
|