diff --git a/.eslintignore b/.eslintignore index bb27d65..91d6c44 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,5 @@ coverage __test__/tape/ __test__/jest/jest-repo/ +__test__/jest-extended/ __test__/jest-when/when.test.cjs diff --git a/.prettierignore b/.prettierignore index 9e7b186..c51dc22 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,5 @@ coverage pnpm-lock.yaml __test__/tape/ __test__/jest/jest-repo/ +__test__/jest-extended/ __test__/jest-when/when.test.cjs diff --git a/package.json b/package.json index 6f78967..033d830 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,8 @@ "@types/jest-when": "^3.5.2", "@typescript-eslint/eslint-plugin": "^7.15.0", "eslint": "^8.44.0", + "jest-matcher-utils": "^29.7.0", + "jest-serializer-ansi-escapes": "^3.0.0", "jest-when": "^3.6.0" }, "packageManager": "pnpm@9.4.0+sha1.9217c800d4ab947a7aee520242a7b70d64fc7638" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c540af..c5475be 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,12 @@ importers: eslint: specifier: ^8.44.0 version: 8.57.0 + jest-matcher-utils: + specifier: ^29.7.0 + version: 29.7.0 + jest-serializer-ansi-escapes: + specifier: ^3.0.0 + version: 3.0.0 jest-when: specifier: ^3.6.0 version: 3.6.0(jest@29.7.0(@types/node@20.14.10)) @@ -1679,6 +1685,10 @@ packages: resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + jest-serializer-ansi-escapes@3.0.0: + resolution: {integrity: sha512-dyj/uFvD45xeUw8U1XPU2Fu0KVjslp3iG/ucpB7x69rLyoaxFWelIV/NfrPzJavjcGJ1tF2LNSlv9tylwhfliA==} + engines: {node: '>=16'} + jest-snapshot@29.7.0: resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -2008,6 +2018,10 @@ packages: engines: {node: '>=14'} hasBin: true + pretty-ansi@2.0.0: + resolution: {integrity: sha512-AN74nXfCper9y7CuktdWuJT5zwqVfST0LOBZMbEsDKIZ/QulzecDqDF4j+lQbzdKHKbAQU7UyqUVJBocisVjNw==} + engines: {node: '>=16'} + pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -4491,6 +4505,10 @@ snapshots: transitivePeerDependencies: - supports-color + jest-serializer-ansi-escapes@3.0.0: + dependencies: + pretty-ansi: 2.0.0 + jest-snapshot@29.7.0: dependencies: '@babel/core': 7.24.7 @@ -4821,6 +4839,8 @@ snapshots: prettier@3.3.2: {} + pretty-ansi@2.0.0: {} + pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3