From 73e265d8fd050ae3daa67472b4465a5c49d68910 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 20 Apr 2019 15:18:33 +0300 Subject: Include to Wekan packages directory contents, so that meteor command would build all directly. This also simplifies build scripts. Thanks to xet7 ! --- packages/markdown/marked/test/specs/original/specs-spec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/markdown/marked/test/specs/original/specs-spec.js (limited to 'packages/markdown/marked/test/specs/original/specs-spec.js') diff --git a/packages/markdown/marked/test/specs/original/specs-spec.js b/packages/markdown/marked/test/specs/original/specs-spec.js new file mode 100644 index 00000000..82d300a5 --- /dev/null +++ b/packages/markdown/marked/test/specs/original/specs-spec.js @@ -0,0 +1,12 @@ +var specTests = require('../../'); + +it('should run spec tests', () => { + // hide output + spyOn(console, 'log'); + if (!specTests(['', '', '--stop'])) { + // if tests fail rerun tests and show output + console.log.and.callThrough(); + specTests([]); + fail(); + } +}); -- cgit v1.2.3-1-g7c22