mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-27 03:37:24 +00:00
18 lines
279 B
JavaScript
18 lines
279 B
JavaScript
|
const assert = require('assert');
|
||
|
|
||
|
let next = null;
|
||
|
|
||
|
exports.assert_next_undefined = function() {
|
||
|
next = undefined;
|
||
|
};
|
||
|
|
||
|
exports.assert_next_ten = function() {
|
||
|
next = 10;
|
||
|
};
|
||
|
|
||
|
exports.foo = function(a) {
|
||
|
console.log(a, next);
|
||
|
assert.strictEqual(a, next);
|
||
|
next = null;
|
||
|
};
|