Testing

jsdom test environment

Simulates DOM APIs; does not provide a complete browser layout engine.

Formal Syntax & Structure

react syntaxreact
test: { environment: "jsdom" }

Working Example

Example Snippetreact
test: { environment: "jsdom" }
React Reference