diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 9ec72538d68e1ea87a4a59cdc296030bc10b627b..506cb9c65938576faa1b1b3fa3c38979b4209f3b 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -109,8 +109,7 @@ export function testJSON() : Result { expect(JSON.parse('{}')!).toEqual({}); - let userKeyWord = JSON.parse('{"is":false,"class":"classOne","abstract":12}') - expect(userKeyWord!.class).toEqual("classOne"); + // TODO 不支持boolean、string,js端需抹平 // expect(JSON.parse('true')!).toEqual(true); // expect(JSON.parse('"foo"')!).toEqual("foo");