Skip to content

Commit

Permalink
capricorn86#1233@patch: Improves documentation for @happy-dom/global-…
Browse files Browse the repository at this point in the history
…registrator.
  • Loading branch information
capricorn86 committed Jan 24, 2024
1 parent a302efc commit aff3412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/global-registrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `<button>My button</button>`;

Expand Down

0 comments on commit aff3412

Please sign in to comment.