From 1334289052a60d17e562c79cfc03e5da1275453e Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 28 Mar 2023 17:57:47 -0400 Subject: [PATCH] chore: @W-12740677 revert JSON to being non-remapped (#424) --- packages/near-membrane-base/src/intrinsics.ts | 2 +- test/membrane/json.spec.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/near-membrane-base/src/intrinsics.ts b/packages/near-membrane-base/src/intrinsics.ts index 21e639db..768d66a1 100644 --- a/packages/near-membrane-base/src/intrinsics.ts +++ b/packages/near-membrane-base/src/intrinsics.ts @@ -84,7 +84,7 @@ const ESGlobalKeys = [ // *** 18.4 Other Properties of the Global Object // 'Atomics', // Remapped - // 'JSON', // Remapped + 'JSON', 'Math', 'Reflect', diff --git a/test/membrane/json.spec.js b/test/membrane/json.spec.js index 1bca87eb..56c057ee 100644 --- a/test/membrane/json.spec.js +++ b/test/membrane/json.spec.js @@ -1,8 +1,7 @@ import createVirtualEnvironment from '@locker/near-membrane-dom'; describe('JSON', () => { - // @TODO: Fix in 246 with performance optimization. - xit('stringify of blue objects with modified properties', () => { + it('stringify of blue objects with modified properties', () => { expect.assertions(1); let takeInside;