Skip to content

Commit

Permalink
Merge pull request #1234 from capricorn86/task/1233-improve-documenta…
Browse files Browse the repository at this point in the history
…tion-for-global-registrator

#1233@patch: Improves documentation for @happy-dom/global-registrator.
  • Loading branch information
capricorn86 authored Jan 24, 2024
2 parents a302efc + 186a7ba commit b7403cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [16]
node-version: [20]

outputs:
next_version: ${{ steps.versionCheck.outputs.next_version }}
Expand Down
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 b7403cc

Please sign in to comment.