Skip to content

Commit 8c8cc3f

Browse files
authored
chore: update deps (#491)
1 parent 74df604 commit 8c8cc3f

File tree

11 files changed

+1309
-1200
lines changed

11 files changed

+1309
-1200
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@
2121
]
2222
},
2323
"devDependencies": {
24-
"@babel/cli": "^7.17.10",
25-
"@babel/core": "^7.18.2",
24+
"@babel/cli": "^7.18.6",
25+
"@babel/core": "^7.18.6",
2626
"@babel/eslint-parser": "^7.18.2",
27-
"@babel/preset-env": "^7.18.2",
28-
"babel-jest": "^28.1.0",
27+
"@babel/preset-env": "^7.18.6",
28+
"babel-jest": "^28.1.2",
2929
"conventional-github-releaser": "^3.1.5",
3030
"cross-env": "^7.0.3",
31-
"eslint": "^8.16.0",
31+
"eslint": "^8.19.0",
3232
"eslint-config-airbnb-base": "^15.0.0",
3333
"eslint-config-prettier": "^8.5.0",
3434
"eslint-plugin-import": "^2.26.0",
3535
"express": "^4.18.1",
3636
"husky": "^8.0.1",
37-
"jest": "^27.4.5",
38-
"lerna": "^5.0.0",
39-
"lint-staged": "^12.4.3",
40-
"prettier": "^2.6.2",
41-
"puppeteer": "^14.1.2",
37+
"jest": "^27.5.1",
38+
"lerna": "^5.1.6",
39+
"lint-staged": "^13.0.3",
40+
"prettier": "^2.7.1",
41+
"puppeteer": "^15.3.0",
4242
"rimraf": "^3.0.2"
4343
}
4444
}

packages/expect-puppeteer/src/matchers/notToMatch.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('not.toMatch', () => {

packages/expect-puppeteer/src/matchers/notToMatchElement.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('not.toMatchElement', () => {

packages/expect-puppeteer/src/matchers/toClick.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toClick', () => {

packages/expect-puppeteer/src/matchers/toFill.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toFill', () => {

packages/expect-puppeteer/src/matchers/toFillForm.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toFillForm', () => {

packages/expect-puppeteer/src/matchers/toMatch.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toMatch', () => {

packages/expect-puppeteer/src/matchers/toMatchElement.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toMatchElement', () => {

packages/expect-puppeteer/src/matchers/toSelect.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from "path";
1+
import path from 'path'
22
import { setupPage } from './setupPage'
33

44
describe('toSelect', () => {

packages/jest-environment-puppeteer/tests/setup.test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe('setup', () => {
2727
})
2828

2929
describe('browserWSEndpoint not in config connect', () => {
30-
const launchSpy = jest.spyOn(puppeteer, 'launch')
3130
beforeEach(() => {
3231
process.env.JEST_PUPPETEER_CONFIG = path.resolve(
3332
__dirname,
@@ -38,11 +37,6 @@ describe('setup', () => {
3837
await teardown()
3938
})
4039

41-
it('should call puppeteer.launch or connect as per the need', async () => {
42-
await setup()
43-
expect(launchSpy).toHaveBeenCalled()
44-
})
45-
4640
it('should use ws-endpoint generated by launch or connect', async () => {
4741
await setup()
4842
expect(process.env.BROWSERS_COUNT).toBe('1')

0 commit comments

Comments
 (0)