Skip to content

Commit

Permalink
chore: update jest (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Aug 25, 2022
1 parent f6ba42a commit d3dff78
Show file tree
Hide file tree
Showing 3 changed files with 457 additions and 320 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -114,7 +114,7 @@
"@types/prettier": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"babel-jest": "^28.0.0",
"babel-jest": "^29.0.0",
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
"dedent": "^0.7.0",
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
Expand All @@ -128,8 +128,8 @@
"eslint-remote-tester-repositories": "~0.0.5",
"husky": "^8.0.1",
"is-ci": "^3.0.0",
"jest": "^28.0.0",
"jest-runner-eslint": "^1.0.0",
"jest": "^29.0.0",
"jest-runner-eslint": "^1.1.0",
"lint-staged": "^13.0.3",
"pinst": "^3.0.0",
"prettier": "^2.0.5",
Expand Down
24 changes: 12 additions & 12 deletions src/__tests__/__snapshots__/rules.test.ts.snap
@@ -1,15 +1,15 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`rules should export configs that refer to actual rules 1`] = `
Object {
"all": Object {
"env": Object {
{
"all": {
"env": {
"jest/globals": true,
},
"plugins": Array [
"plugins": [
"jest",
],
"rules": Object {
"rules": {
"jest/consistent-test-it": "error",
"jest/expect-expect": "error",
"jest/max-expects": "error",
Expand Down Expand Up @@ -61,14 +61,14 @@ Object {
"jest/valid-title": "error",
},
},
"recommended": Object {
"env": Object {
"recommended": {
"env": {
"jest/globals": true,
},
"plugins": Array [
"plugins": [
"jest",
],
"rules": Object {
"rules": {
"jest/expect-expect": "warn",
"jest/no-commented-out-tests": "warn",
"jest/no-conditional-expect": "error",
Expand All @@ -90,11 +90,11 @@ Object {
"jest/valid-title": "error",
},
},
"style": Object {
"plugins": Array [
"style": {
"plugins": [
"jest",
],
"rules": Object {
"rules": {
"jest/no-alias-methods": "warn",
"jest/prefer-to-be": "error",
"jest/prefer-to-contain": "error",
Expand Down

0 comments on commit d3dff78

Please sign in to comment.