Skip to content

Commit

Permalink
@dnvgl/playwright-duration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgoeke committed May 3, 2024
1 parent d3a598c commit 33d94be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Useful when measuring performance for single user workflow tests.

# Installation
``` sh
npm install --save-dev playwright-duration
npm install --save-dev @dnvgl/playwright-duration
```

# Usage
Expand All @@ -14,7 +14,7 @@ given a playwright test, import and wrap the `duration` function around the code
Example:
``` ts
import { test, expect } from '@playwright/test';
import { duration } from 'playwright-duration';
import { duration } from '@dnvgl/playwright-duration';

test('get started link', async ({ page }, testInfo) => {
//test setup
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "playwright-duration",
"name": "@dnvgl/playwright-duration",
"version": "1.0.0",
"description": "Override playwright's duration within a test. Better performance accuracy when wanting to measure timing for only part of a test.",
"module": "true",
Expand Down

0 comments on commit 33d94be

Please sign in to comment.