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

11 lines
248 B
JavaScript
Raw Normal View History

'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);
});