fix(core): update

This commit is contained in:
2022-10-26 10:56:01 +02:00
parent ab3ae7ec90
commit 697afbaf98
6 changed files with 21 additions and 34 deletions

View File

@ -40,7 +40,7 @@ tap.test('should products stable jsons', async () => {
console.log(jsonString);
});
tap.test('should work with base64', async() => {
tap.test('should work with base64', async () => {
const someObject = {
hi: 'there',
thisIs: 'awesome',
@ -55,8 +55,8 @@ tap.test('should work with base64', async() => {
tap.test('stringify should handle plain string', async () => {
const stringifiedString = smartjson.stringify('hello');
console.log(stringifiedString);
expect(stringifiedString).toEqual('"hello"')
expect(stringifiedString).toEqual('"hello"');
expect(smartjson.parse(stringifiedString)).toEqual('hello');
})
});
tap.start();