mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
style update to standard v7
This commit is contained in:
@ -4,9 +4,7 @@ var utils = require('../../src/server/utils')
|
||||
/* global describe, it */
|
||||
|
||||
describe('utils', function () {
|
||||
|
||||
describe('toNative', function () {
|
||||
|
||||
it('should convert string to native type', function () {
|
||||
// should convert
|
||||
assert.strictEqual(utils.toNative('1'), 1)
|
||||
@ -22,6 +20,5 @@ describe('utils', function () {
|
||||
assert.strictEqual(utils.toNative(1), 1)
|
||||
assert.strictEqual(utils.toNative(true), true)
|
||||
})
|
||||
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user