This commit is contained in:
typicode
2016-10-06 00:15:13 +02:00
parent aa3ad62092
commit 954c0b61d3
22 changed files with 590 additions and 574 deletions

View File

@ -1,12 +1,10 @@
var assert = require('assert')
var utils = require('../../src/server/utils')
/* global describe, it */
const assert = require('assert')
const utils = require('../../src/server/utils')
describe('utils', function () {
describe('getPage', function () {
var array = [1, 2, 3, 4, 5]
var perPage = 2
const array = [1, 2, 3, 4, 5]
const perPage = 2
it('should return first page', function () {
assert.deepEqual(