mirror of
https://github.com/github/codeql-action.git
synced 2026-05-16 00:00:30 +00:00
Import @actions/artifact@v1 as artifact-legacy and v2 as artifact
This commit is contained in:
+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