Skip to content

Commit

Permalink
remove unit test (removed before but added again when resolving confl…
Browse files Browse the repository at this point in the history
…ict)

Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com)
  • Loading branch information
vJIYEv committed Sep 10, 2024
1 parent ee3920f commit 4a6514d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/core/platform/tests/platform-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4a6514d

Please sign in to comment.