From 4a6514d3d275d4d65ccf6e76c8b74270da0664e6 Mon Sep 17 00:00:00 2001 From: Jiye Kim Date: Tue, 10 Sep 2024 12:54:51 +0900 Subject: [PATCH] remove unit test (removed before but added again when resolving conflict) Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) --- packages/core/platform/tests/platform-specs.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/core/platform/tests/platform-specs.js b/packages/core/platform/tests/platform-specs.js index 50adad1cc1..63143fc0b6 100644 --- a/packages/core/platform/tests/platform-specs.js +++ b/packages/core/platform/tests/platform-specs.js @@ -165,13 +165,6 @@ describe('platform', () => { windowSpy.mockRestore(); }); - test('should return `true` for `unknown` in the testing environment', () => { // Deprecated: will be removed in 5.0.0 - // The first access invokes detecting based on user agent value - expect(platform['unknown']).toBe(true); - // The second access makes the module to return already detected platform information - expect(platform['unknown']).toBe(true); - }); - test('should return `webos` for `type` in WebOSTV environment', () => { Object.defineProperty(globalThis.navigator, "userAgent", { value: 'Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 WebAppManager',