mirror of
https://github.com/gradle/actions.git
synced 2026-11-27 00:03:00 +00:00
publishing v1 of action
This commit is contained in:
1 parent
91baa89272
commit
2d5ca45eab
569 files changed
+61688
-2
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
var assert = require('assert');
|
||||
var Traverse = require('traverse');
|
||||
|
||||
exports['traverse an object with nested functions'] = function () {
|
||||
var to = setTimeout(function () {
|
||||
assert.fail('never ran');
|
||||
}, 1000);
|
||||
|
||||
function Cons (x) {
|
||||
clearTimeout(to);
|
||||
assert.equal(x, 10);
|
||||
};
|
||||
Traverse(new Cons(10));
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user