Skip to content

Commit a2c7ed2

Browse files
committed
1.3.0
1 parent 728db03 commit a2c7ed2

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,16 +231,14 @@ which will create a HTML website in the `coverage` directory.
231231
It's possible to skip tests for browsers or combination of browsers and devices
232232

233233
```js
234-
jestPlaywright.skip({ browsers: ['chromium'] }, () => {
235-
test('should skip this one', async () => {
234+
it.jestPlaywrightSkip(
235+
{ browsers: ['chromium'] },
236+
'should skip this one',
237+
async () => {
236238
const title = await page.title()
237239
expect(title).toBe('Google')
238-
})
239-
240-
test('and this one', () => {
241-
expect(1).toBe(2)
242-
})
243-
})
240+
},
241+
)
244242
```
245243

246244
## Start a server

extends.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const customSkip = (skipOption, type, ...args) => {
8282
}
8383
}
8484

85-
// TODO Put information about changes in Readme before 1.3.0
8685
it.jestPlaywrightSkip = (skipOption, ...args) => {
8786
customSkip(skipOption, 'it', ...args)
8887
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-playwright-preset",
3-
"version": "1.3.0-rc10",
3+
"version": "1.3.0",
44
"main": "index.js",
55
"description": "Running tests using Jest & Playwright.",
66
"license": "MIT",

0 commit comments

Comments
 (0)