From aff3412582d6ee89a2b1008a78fb32be8d8a6c2e Mon Sep 17 00:00:00 2001 From: David Ortner Date: Wed, 24 Jan 2024 02:58:42 +0100 Subject: [PATCH] #1233@patch: Improves documentation for @happy-dom/global-registrator. --- packages/global-registrator/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/global-registrator/README.md b/packages/global-registrator/README.md index 5e6738801..88a8da880 100644 --- a/packages/global-registrator/README.md +++ b/packages/global-registrator/README.md @@ -56,7 +56,7 @@ npm install @happy-dom/global-registrator --save-dev ```javascript import { GlobalRegistrator } from '@happy-dom/global-registrator'; -GlobalRegistrator.register(); +GlobalRegistrator.register({ url: 'http://localhost:3000', width: 1920, height: 1080 }); document.body.innerHTML = ``;