|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
456 bytes
|
| Line | |
|---|
| 1 | const PROJECT_DIR = process.env.PROJECT_DIR;
|
|---|
| 2 | const JAKE_CMD = `${PROJECT_DIR}/bin/cli.js`;
|
|---|
| 3 |
|
|---|
| 4 | let assert = require('assert');
|
|---|
| 5 | let proc = require('child_process');
|
|---|
| 6 |
|
|---|
| 7 | suite('listTasks', function () {
|
|---|
| 8 | test('execute "jake -T" without any errors', function () {
|
|---|
| 9 | let message = 'cannot run "jake -T" command';
|
|---|
| 10 | let listTasks = function () {
|
|---|
| 11 | proc.execFileSync(JAKE_CMD, ['-T']);
|
|---|
| 12 | };
|
|---|
| 13 | assert.doesNotThrow(listTasks, TypeError, message);
|
|---|
| 14 | });
|
|---|
| 15 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.