GT2/GT2-iOS/node_modules/argsarray/test/test.basic.js

11 lines
248 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
'use strict';
var getArgs = require('../');
var test = require('tape');
test('should work', function (t) {
var ourFunc = getArgs(function (args) {
t.deepEquals(args, [1, 2, 3, 4], 'should work');
t.end();
});
ourFunc(1, 2, 3, 4);
});