UNPKG

tastypie

Version:

Tastypie is a webservice API framework for Node.js based on Django's Tastypie Framework. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces

19 lines (11 loc) 304 B
"use strict"; var expect = require("expect.js") var empty = require('../../array/empty') describe('Array', function(){ describe('empty', function(){ it('should empty the array', function(){ var arr = empty([1,2,3,4]) expect(arr).to.eql([]) }) }) })