Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Mock important window/browser objects #282

@jeffwhelpley

Description

@jeffwhelpley

Although we are encouraging users to not directly use the window DOM objects, we can't stop anyone from using them. We just need mocks for all window objects so that when an Angular 2 app runs on the server, in a web worker, on a mobile device, etc. the app doesn't break.

JSDOM is way to heavyweight and we are not talking about actually implementing functionality. We just want to see if we can add mocks so that window object code doesn't break the app.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions