Use primitives-json encode & decode (#41)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// ISC, Copyright 2017 Jaco Greeff
|
||||
|
||||
const echo = require('./echo');
|
||||
|
||||
describe('echo', () => {
|
||||
it('returns input value as output value', () => {
|
||||
const input = { 'some': 'object' };
|
||||
|
||||
expect(
|
||||
echo(input)
|
||||
).toEqual(input);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user