Skip to content

Commit

Permalink
chore: update deps (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Jul 6, 2022
1 parent 74df604 commit 8c8cc3f
Show file tree
Hide file tree
Showing 11 changed files with 1,309 additions and 1,200 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@
]
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.2",
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"babel-jest": "^28.1.0",
"@babel/preset-env": "^7.18.6",
"babel-jest": "^28.1.2",
"conventional-github-releaser": "^3.1.5",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"express": "^4.18.1",
"husky": "^8.0.1",
"jest": "^27.4.5",
"lerna": "^5.0.0",
"lint-staged": "^12.4.3",
"prettier": "^2.6.2",
"puppeteer": "^14.1.2",
"jest": "^27.5.1",
"lerna": "^5.1.6",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"puppeteer": "^15.3.0",
"rimraf": "^3.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/notToMatch.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('not.toMatch', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('not.toMatchElement', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/toClick.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toClick', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/toFill.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toFill', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/toFillForm.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toFillForm', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/toMatch.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toMatch', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toMatchElement', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-puppeteer/src/matchers/toSelect.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from 'path'
import { setupPage } from './setupPage'

describe('toSelect', () => {
Expand Down
6 changes: 0 additions & 6 deletions packages/jest-environment-puppeteer/tests/setup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe('setup', () => {
})

describe('browserWSEndpoint not in config connect', () => {
const launchSpy = jest.spyOn(puppeteer, 'launch')
beforeEach(() => {
process.env.JEST_PUPPETEER_CONFIG = path.resolve(
__dirname,
Expand All @@ -38,11 +37,6 @@ describe('setup', () => {
await teardown()
})

it('should call puppeteer.launch or connect as per the need', async () => {
await setup()
expect(launchSpy).toHaveBeenCalled()
})

it('should use ws-endpoint generated by launch or connect', async () => {
await setup()
expect(process.env.BROWSERS_COUNT).toBe('1')
Expand Down

0 comments on commit 8c8cc3f

Please sign in to comment.