Fakultas Ilmu Komputer UI

Commit 9d299fab authored by Ahmad Izzudin Alifyandra's avatar Ahmad Izzudin Alifyandra
Browse files

Merge branch 'setup-jest' into 'master'

Setup Jest files and Enable Coverage

See merge request !62
parents 4ca0e2a0 f8e22e9d
......@@ -10,6 +10,7 @@ npm-debug.*
web-build/
/ios
.env
jest/coverage
# macOS
.DS_Store
......@@ -8,7 +8,6 @@ npm-debug.*
*.mobileprovision
*.orig.*
web-build/
/config
/ios
# macOS
......
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import "react-native-gesture-handler/jestSetup";
jest.mock("react-native-reanimated", () => {
const Reanimated = require("react-native-reanimated/mock");
// The mock for `call` immediately calls the callback which is incorrect
// So we override it with a no-op
Reanimated.default.call = () => {};
return Reanimated;
});
jest.mock("@react-navigation/core", () => {
const actualNav = jest.requireActual("@react-navigation/core");
return {
...actualNav,
useNavigation: () => ({
navigate: jest.fn(),
dispatch: jest.fn(),
}),
};
});
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
jest.mock("react-native/Libraries/Animated/src/NativeAnimatedHelper");
......@@ -12,7 +12,19 @@
"prepare": "husky install"
},
"jest": {
"preset": "jest-expo"
"preset": "jest-expo",
"setupFiles": [
"<rootDir>/jest/setup.js"
],
"coverageDirectory": "jest/coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{jsx,ts,tsx}",
"!**/coverage/**",
"!**/node_modules/**",
"!**/babel.config.js",
"!**/jest.setup.js"
]
},
"dependencies": {
"@expo/vector-icons": "^12.0.0",
......@@ -63,10 +75,11 @@
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.2",
"jest": "^27.2.0",
"jest-expo": "~41.0.0-beta.0",
"jest-expo": "^42.1.0",
"lint-staged": "^11.1.2",
"prettier": "^2.4.0",
"react-test-renderer": "^17.0.2",
"redux-mock-store": "^1.5.4",
"typescript": "~4.0.0"
},
"private": true,
......
import { cleanup, render, fireEvent } from "@testing-library/react-native";
import FirebaseConfig from "../../../../config/firebase";
import firebase from "firebase/app";
// import "firebase/firestore";
import "firebase/firestore";
afterEach(cleanup);
......@@ -11,9 +11,9 @@ describe("Basic Firebase Tests", () => {
});
// TODO : shows firestore connection error
// it("Successfully query Firestore", async () => {
// const db = firebase.firestore();
// const query = await db.collection("test").get();
// expect(query.metadata).not.toBeNull();
// });
it("Successfully query Firestore", async () => {
const db = firebase.firestore();
const query = await db.collection("test").get();
expect(query.metadata).not.toBeNull();
});
});
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import { render } from "@testing-library/react-native";
import Register from "../../../screens/auth/RegisterScreen";
import React from "react";
import { Provider } from "react-redux";
import configureStore from "redux-mock-store";
describe("Register Screen Test", () => {
it("Renders Form", () => {
const mockStore = configureStore();
const { getAllByPlaceholderText } = render(
<Provider store={mockStore({ name: "alif" })}>
<Register navigation={null} route={null} />
</Provider>
);
expect(getAllByPlaceholderText("Masukkan Nama Depan"));
expect(getAllByPlaceholderText("Masukkan Nama Belakang"));
......
// TODO add tests for image functions
......@@ -1111,7 +1111,7 @@
pirates "^4.0.0"
source-map-support "^0.5.16"
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
version "7.15.4"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz"
integrity sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==
......@@ -1193,25 +1193,6 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@expo/config-plugins@1.0.33":
version "1.0.33"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-1.0.33.tgz"
integrity sha512-YQJop0c69LKD/6ZJJto7klS7TDmzgs44TI0Z5RBqesOjYlDwNFcQk2Rl2BaA1wlAYkH+rRrhN2+WjjSyD9HiPg==
dependencies:
"@expo/config-types" "^40.0.0-beta.2"
"@expo/configure-splash-screen" "0.4.0"
"@expo/image-utils" "0.3.14"
"@expo/json-file" "8.2.30"
"@expo/plist" "0.0.13"
find-up "~5.0.0"
fs-extra "9.0.0"
getenv "^1.0.0"
glob "7.1.6"
resolve-from "^5.0.0"
slash "^3.0.0"
xcode "^3.0.1"
xml2js "^0.4.23"
"@expo/config-plugins@2.0.4":
version "2.0.4"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-2.0.4.tgz"
......@@ -1250,11 +1231,6 @@
xcode "^3.0.1"
xml2js "^0.4.23"
"@expo/config-types@^40.0.0-beta.2":
version "40.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-40.0.0-beta.2.tgz"
integrity sha512-t9pHCQMXOP4nwd7LGXuHkLlFy0JdfknRSCAeVF4Kw2/y+5OBbR9hW9ZVnetpBf0kORrekgiI7K/qDaa3hh5+Qg==
"@expo/config-types@^41.0.0":
version "41.0.0"
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-41.0.0.tgz"
......@@ -1265,7 +1241,7 @@
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-42.0.0.tgz"
integrity sha512-Rj02OMZke2MrGa/1Y/EScmR7VuWbDEHPJyvfFyyLbadUt+Yv6isCdeFzDt71I7gJlPR9T4fzixeYLrtXXOTq0w==
"@expo/config@5.0.9":
"@expo/config@5.0.9", "@expo/config@^5.0.3":
version "5.0.9"
resolved "https://registry.yarnpkg.com/@expo/config/-/config-5.0.9.tgz"
integrity sha512-eZj+cf03wkQQdHSpYvrmiqAsn2dJV10uhHIwXyeFBaFvhds0NgThOldJZfOppQ4QUaGobB/vaJ7UqUa3B0PCMw==
......@@ -1282,26 +1258,6 @@
slugify "^1.3.4"
sucrase "^3.20.0"
"@expo/config@^3.2.3":
version "3.3.43"
resolved "https://registry.yarnpkg.com/@expo/config/-/config-3.3.43.tgz"
integrity sha512-5a78fQqTKk7RhgrW5XzHS8ylCo9YRjZrheLyVDNNfvwAD8YjeBz6bFWsItZPpAIoaDgkLh0a8uhc11DCmqoKpw==
dependencies:
"@babel/core" "7.9.0"
"@babel/plugin-proposal-class-properties" "~7.12.13"
"@babel/preset-env" "~7.12.13"
"@babel/preset-typescript" "~7.12.13"
"@expo/config-plugins" "1.0.33"
"@expo/config-types" "^40.0.0-beta.2"
"@expo/json-file" "8.2.30"
fs-extra "9.0.0"
getenv "^1.0.0"
glob "7.1.6"
require-from-string "^2.0.2"
resolve-from "^5.0.0"
semver "7.3.2"
slugify "^1.3.4"
"@expo/config@^4.0.0":
version "4.0.4"
resolved "https://registry.yarnpkg.com/@expo/config/-/config-4.0.4.tgz"
......@@ -1322,20 +1278,6 @@
semver "7.3.2"
slugify "^1.3.4"
"@expo/configure-splash-screen@0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@expo/configure-splash-screen/-/configure-splash-screen-0.4.0.tgz"
integrity sha512-IDPnr2/DW1tYpDHqedFYNCDzRTf9HYinWFQ7fOelNZLuOCMoErLbSStA5zfkv46o69AgcCpteqgKHSoxsIBz5g==
dependencies:
color-string "^1.5.3"
commander "^5.1.0"
fs-extra "^9.0.0"
glob "^7.1.6"
lodash "^4.17.15"
pngjs "^5.0.0"
xcode "^3.0.0"
xml-js "^1.6.11"
"@expo/configure-splash-screen@0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@expo/configure-splash-screen/-/configure-splash-screen-0.5.0.tgz"
......@@ -1350,23 +1292,6 @@
xcode "^3.0.0"
xml-js "^1.6.11"
"@expo/image-utils@0.3.14":
version "0.3.14"
resolved "https://registry.yarnpkg.com/@expo/image-utils/-/image-utils-0.3.14.tgz"
integrity sha512-n+JkLZ71CWuNKLVVsPTzMGRwmbeKiVQw/2b99Ro7znCKzJy3tyE5T2C6WBvYh/5h/hjg8TqEODjXXWucRIzMXA==
dependencies:
"@expo/spawn-async" "1.5.0"
chalk "^4.0.0"
fs-extra "9.0.0"
getenv "^1.0.0"
jimp "0.12.1"
mime "^2.4.4"
node-fetch "^2.6.0"
parse-png "^2.1.0"
resolve-from "^5.0.0"
semver "7.3.2"
tempy "0.3.0"
"@expo/image-utils@0.3.16":
version "0.3.16"
resolved "https://registry.yarnpkg.com/@expo/image-utils/-/image-utils-0.3.16.tgz"
......@@ -1774,15 +1699,16 @@
chalk "^2.0.1"
slash "^2.0.0"
"@jest/console@^25.5.0":
version "25.5.0"
resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.5.0.tgz"
integrity sha512-T48kZa6MK1Y6k4b89sexwmSF4YLeZS/Udqg3Jj3jG/cHH+N/sLFCEoXEDMOKugJQ9FxPN1osxIknvKkxt6MKyw==
"@jest/console@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.6.2.tgz#4e04bc464014358b03ab4937805ee36a0aeb98f2"
integrity sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==
dependencies:
"@jest/types" "^25.5.0"
chalk "^3.0.0"
jest-message-util "^25.5.0"
jest-util "^25.5.0"
"@jest/types" "^26.6.2"
"@types/node" "*"
chalk "^4.0.0"
jest-message-util "^26.6.2"
jest-util "^26.6.2"
slash "^3.0.0"
"@jest/console@^27.2.0":
......@@ -1797,36 +1723,36 @@
jest-util "^27.2.0"
slash "^3.0.0"
"@jest/core@^25.5.4":
version "25.5.4"
resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.5.4.tgz"
integrity sha512-3uSo7laYxF00Dg/DMgbn4xMJKmDdWvZnf89n8Xj/5/AeQ2dOQmn6b6Hkj/MleyzZWXpwv+WSdYWl4cLsy2JsoA==
"@jest/core@^26.6.3":
version "26.6.3"
resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad"
integrity sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==
dependencies:
"@jest/console" "^25.5.0"
"@jest/reporters" "^25.5.1"
"@jest/test-result" "^25.5.0"
"@jest/transform" "^25.5.1"
"@jest/types" "^25.5.0"
"@jest/console" "^26.6.2"
"@jest/reporters" "^26.6.2"
"@jest/test-result" "^26.6.2"
"@jest/transform" "^26.6.2"
"@jest/types" "^26.6.2"
"@types/node" "*"
ansi-escapes "^4.2.1"
chalk "^3.0.0"
chalk "^4.0.0"
exit "^0.1.2"
graceful-fs "^4.2.4"
jest-changed-files "^25.5.0"
jest-config "^25.5.4"
jest-haste-map "^25.5.1"
jest-message-util "^25.5.0"
jest-regex-util "^25.2.6"
jest-resolve "^25.5.1"
jest-resolve-dependencies "^25.5.4"
jest-runner "^25.5.4"
jest-runtime "^25.5.4"
jest-snapshot "^25.5.1"
jest-util "^25.5.0"
jest-validate "^25.5.0"
jest-watcher "^25.5.0"
jest-changed-files "^26.6.2"
jest-config "^26.6.3"
jest-haste-map "^26.6.2"
jest-message-util "^26.6.2"
jest-regex-util "^26.0.0"
jest-resolve "^26.6.2"
jest-resolve-dependencies "^26.6.3"
jest-runner "^26.6.3"
jest-runtime "^26.6.3"
jest-snapshot "^26.6.2"
jest-util "^26.6.2"
jest-validate "^26.6.2"
jest-watcher "^26.6.2"
micromatch "^4.0.2"
p-each-series "^2.1.0"
realpath-native "^2.0.0"
rimraf "^3.0.0"
slash "^3.0.0"
strip-ansi "^6.0.0"
......@@ -1866,14 +1792,15 @@
slash "^3.0.0"
strip-ansi "^6.0.0"
"@jest/environment@^25.5.0":
version "25.5.0"
resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.5.0.tgz"
integrity sha512-U2VXPEqL07E/V7pSZMSQCvV5Ea4lqOlT+0ZFijl/i316cRMHvZ4qC+jBdryd+lmRetjQo0YIQr6cVPNxxK87mA==
"@jest/environment@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c"
integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==
dependencies:
"@jest/fake-timers" "^25.5.0"
"@jest/types" "^25.5.0"
jest-mock "^25.5.0"
"@jest/fake-timers" "^26.6.2"
"@jest/types" "^26.6.2"
"@types/node" "*"
jest-mock "^26.6.2"
"@jest/environment@^27.2.0":
version "27.2.0"
......@@ -1894,16 +1821,17 @@
jest-message-util "^24.9.0"
jest-mock "^24.9.0"
"@jest/fake-timers@^25.5.0":
version "25.5.0"
resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.5.0.tgz"
integrity sha512-9y2+uGnESw/oyOI3eww9yaxdZyHq7XvprfP/eeoCsjqKYts2yRlsHS/SgjPDV8FyMfn2nbMy8YzUk6nyvdLOpQ==
"@jest/fake-timers@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad"
integrity sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==
dependencies:
"@jest/types" "^25.5.0"
jest-message-util "^25.5.0"
jest-mock "^25.5.0"
jest-util "^25.5.0"
lolex "^5.0.0"
"@jest/types" "^26.6.2"
"@sinonjs/fake-timers" "^6.0.1"
"@types/node" "*"
jest-message-util "^26.6.2"
jest-mock "^26.6.2"
jest-util "^26.6.2"
"@jest/fake-timers@^27.2.0":
version "27.2.0"
......@@ -1917,14 +1845,14 @@
jest-mock "^27.1.1"
jest-util "^27.2.0"
"@jest/globals@^25.5.2":
version "25.5.2"
resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-25.5.2.tgz"
integrity sha512-AgAS/Ny7Q2RCIj5kZ+0MuKM1wbF0WMLxbCVl/GOMoCNbODRdJ541IxJ98xnZdVSZXivKpJlNPIWa3QmY0l4CXA==
"@jest/globals@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a"
integrity sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==
dependencies:
"@jest/environment" "^25.5.0"
"@jest/types" "^25.5.0"
expect "^25.5.0"
"@jest/environment" "^26.6.2"
"@jest/types" "^26.6.2"
expect "^26.6.2"
"@jest/globals@^27.2.1":
version "27.2.1"
......@@ -1935,37 +1863,37 @@
"@jest/types" "^27.1.1"
expect "^27.2.1"
"@jest/reporters@^25.5.1":
version "25.5.1"
resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.5.1.tgz"
integrity sha512-3jbd8pPDTuhYJ7vqiHXbSwTJQNavczPs+f1kRprRDxETeE3u6srJ+f0NPuwvOmk+lmunZzPkYWIFZDLHQPkviw==
"@jest/reporters@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6"
integrity sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==
dependencies:
"@bcoe/v8-coverage" "^0.2.3"
"@jest/console" "^25.5.0"
"@jest/test-result" "^25.5.0"
"@jest/transform" "^25.5.1"
"@jest/types" "^25.5.0"
chalk "^3.0.0"
"@jest/console" "^26.6.2"
"@jest/test-result" "^26.6.2"
"@jest/transform" "^26.6.2"
"@jest/types" "^26.6.2"
chalk "^4.0.0"
collect-v8-coverage "^1.0.0"
exit "^0.1.2"
glob "^7.1.2"
graceful-fs "^4.2.4"
istanbul-lib-coverage "^3.0.0"
istanbul-lib-instrument "^4.0.0"
istanbul-lib-instrument "^4.0.3"
istanbul-lib-report "^3.0.0"
istanbul-lib-source-maps "^4.0.0"
istanbul-reports "^3.0.2"
jest-haste-map "^25.5.1"
jest-resolve "^25.5.1"
jest-util "^25.5.0"
jest-worker "^25.5.0"
jest-haste-map "^26.6.2"
jest-resolve "^26.6.2"
jest-util "^26.6.2"
jest-worker "^26.6.2"
slash "^3.0.0"
source-map "^0.6.0"
string-length "^3.1.0"
string-length "^4.0.1"
terminal-link "^2.0.0"
v8-to-istanbul "^4.1.3"
v8-to-istanbul "^7.0.0"
optionalDependencies:
node-notifier "^6.0.0"
node-notifier "^8.0.0"
"@jest/reporters@^27.2.1":
version "27.2.1"
......@@ -2006,10 +1934,10 @@
graceful-fs "^4.1.15"
source-map "^0.6.0"
"@jest/source-map@^25.5.0":
version "25.5.0"
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-25.5.0.tgz"
integrity sha512-eIGx0xN12yVpMcPaVpjXPnn3N30QGJCJQSkEDUt9x1fI1Gdvb07Ml6K5iN2hG7NmMP6FDmtPEssE3z6doOYUwQ==
"@jest/source-map@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535"
integrity sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==
dependencies:
callsites "^3.0.0"
graceful-fs "^4.2.4"
......@@ -2033,13 +1961,13 @@
"@jest/types" "^24.9.0"
"@types/istanbul-lib-coverage" "^2.0.0"
"@jest/test-result@^25.5.0":
version "25.5.0"
resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.5.0.tgz"
integrity sha512-oV+hPJgXN7IQf/fHWkcS99y0smKLU2czLBJ9WA0jHITLst58HpQMtzSYxzaBvYc6U5U6jfoMthqsUlUlbRXs0A==
"@jest/test-result@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18"
integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==
dependencies:
"@jest/console" "^25.5.0"
"@jest/types" "^25.5.0"
"@jest/console" "^26.6.2"
"@jest/types" "^26.6.2"
"@types/istanbul-lib-coverage" "^2.0.0"
collect-v8-coverage "^1.0.0"
......@@ -2053,16 +1981,16 @@
"@types/istanbul-lib-coverage" "^2.0.0"
collect-v8-coverage "^1.0.0"
"@jest/test-sequencer@^25.5.4":
version "25.5.4"
resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.5.4.tgz"
integrity sha512-pTJGEkSeg1EkCO2YWq6hbFvKNXk8ejqlxiOg1jBNLnWrgXOkdY6UmqZpwGFXNnRt9B8nO1uWMzLLZ4eCmhkPNA==
"@jest/test-sequencer@^26.6.3":
version "26.6.3"
resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17"
integrity sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==
dependencies:
"@jest/test-result" "^25.5.0"
"@jest/test-result" "^26.6.2"
graceful-fs "^4.2.4"
jest-haste-map "^25.5.1"
jest-runner "^25.5.4"
jest-runtime "^25.5.4"
jest-haste-map "^26.6.2"
jest-runner "^26.6.3"
jest-runtime "^26.6.3"
"@jest/test-sequencer@^27.2.1":
version "27.2.1"
......@@ -2074,24 +2002,23 @@
jest-haste-map "^27.2.0"
jest-runtime "^27.2.1"
"@jest/transform@^25.5.1":
version "25.5.1"
resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.5.1.tgz"
integrity sha512-Y8CEoVwXb4QwA6Y/9uDkn0Xfz0finGkieuV0xkdF9UtZGJeLukD5nLkaVrVsODB1ojRWlaoD0AJZpVHCSnJEvg==
"@jest/transform@^26.6.2":
version "26.6.2"
resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b"
integrity sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==
dependencies:
"@babel/core" "^7.1.0"
"@jest/types" "^25.5.0"
"@jest/types" "^26.6.2"
babel-plugin-istanbul "^6.0.0"
chalk "^3.0.0"
chalk "^4.0.0"
convert-source-map "^1.4.0"
fast-json-stable-stringify "^2.0.0"
graceful-fs "^4.2.4"
jest-haste-map "^25.5.1"
jest-regex-util "^25.2.6"
jest-util "^25.5.0"
jest-haste-map "^26.6.2"
jest-regex-util "^26.0.0"
jest-util "^26.6.2"
micromatch "^4.0.2"
pirates "^4.0.1"
realpath-native "^2.0.0"
slash "^3.0.0"
source-map "^0.6.1"
write-file-atomic "^3.0.0"
......@@ -2158,295 +2085,6 @@
"@types/yargs" "^16.0.0"
chalk "^4.0.0"
"@jimp/bmp@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/bmp/-/bmp-0.12.1.tgz"
integrity sha512-t16IamuBMv4GiGa1VAMzsgrVKVANxXG81wXECzbikOUkUv7pKJ2vHZDgkLBEsZQ9sAvFCneM1+yoSRpuENrfVQ==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
bmp-js "^0.1.0"
"@jimp/core@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/core/-/core-0.12.1.tgz"
integrity sha512-mWfjExYEjHxBal+1gPesGChOQBSpxO7WUQkrO9KM7orboitOdQ15G5UA75ce7XVZ+5t+FQPOLmVkVZzzTQSEJA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
any-base "^1.1.0"
buffer "^5.2.0"
exif-parser "^0.1.12"
file-type "^9.0.0"
load-bmfont "^1.3.1"
mkdirp "^0.5.1"
phin "^2.9.1"
pixelmatch "^4.0.2"
tinycolor2 "^1.4.1"
"@jimp/custom@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/custom/-/custom-0.12.1.tgz"
integrity sha512-bVClp8FEJ/11GFTKeRTrfH7NgUWvVO5/tQzO/68aOwMIhbz9BOYQGh533K9+mSy29VjZJo8jxZ0C9ZwYHuFwfA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/core" "^0.12.1"
"@jimp/gif@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/gif/-/gif-0.12.1.tgz"
integrity sha512-cGn/AcvMGUGcqR6ByClGSnrja4AYmTwsGVXTQ1+EmfAdTiy6ztGgZCTDpZ/tq4SpdHXwm9wDHez7damKhTrH0g==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
omggif "^1.0.9"
"@jimp/jpeg@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/jpeg/-/jpeg-0.12.1.tgz"
integrity sha512-UoCUHbKLj2CDCETd7LrJnmK/ExDsSfJXmc1pKkfgomvepjXogdl2KTHf141wL6D+9CfSD2VBWQLC5TvjMvcr9A==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
jpeg-js "^0.4.0"
"@jimp/plugin-blit@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-blit/-/plugin-blit-0.12.1.tgz"
integrity sha512-VRBB6bx6EpQuaH0WX8ytlGNqUQcmuxXBbzL3e+cD0W6MluYibzQy089okvXcyUS72Q+qpSMmUDCVr3pDqLAsSA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
"@jimp/plugin-blur@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-blur/-/plugin-blur-0.12.1.tgz"
integrity sha512-rTFY0yrwVJFNgNsAlYGn2GYCRLVEcPQ6cqAuhNylXuR/7oH3Acul+ZWafeKtvN8D8uMlth/6VP74gruXvwffZw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
"@jimp/plugin-circle@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-circle/-/plugin-circle-0.12.1.tgz"
integrity sha512-+/OiBDjby7RBbQoDX8ZsqJRr1PaGPdTaaKUVGAsrE7KCNO9ODYNFAizB9lpidXkGgJ4Wx5R4mJy21i22oY/a4Q==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
"@jimp/plugin-color@^0.12.1":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-color/-/plugin-color-0.12.1.tgz"
integrity sha512-xlnK/msWN4uZ+Bu7+UrCs9oMzTSA9QE0jWFnF3h0aBsD8t1LGxozkckHe8nHtC/y/sxIa8BGKSfkiaW+r6FbnA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.12.1"
tinycolor2 "^1.4.1"
"@jimp/plugin-contain@^0.12.1":