update to state of the art

This commit is contained in:
s2
2020-10-10 15:18:01 +02:00
parent cf251a170f
commit 4cdcfd167c
1526 changed files with 48132 additions and 7268 deletions

View File

@@ -23,6 +23,13 @@ suite('taskBase', function () {
exec('./node_modules/.bin/jake noActionNoPrereqs');
});
test('a task that exists at the top-level, and not in the specified namespace, should error', function () {
let res = require('child_process').spawnSync('./node_modules/.bin/jake',
['asdfasdfasdf:zerbofrangazoomy']);
let err = res.stderr.toString();
assert.ok(err.indexOf('Unknown task' > -1));
});
test('passing args to a task', function () {
let out = exec('./node_modules/.bin/jake -q argsEnvVars[foo,bar]').toString().trim();
let parsed = h.parse(out);