mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-25 08:54:06 +03:00
update jest and playwright
This commit is contained in:
@@ -5,13 +5,17 @@ module.exports = function (api) {
|
||||
|
||||
if (isRollup) {
|
||||
return {
|
||||
plugins: ['@babel/plugin-transform-runtime', '@babel/plugin-proposal-class-properties'],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-runtime',
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
['@babel/plugin-proposal-private-methods', { loose: false }],
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
if (isJest) {
|
||||
return {
|
||||
plugins: ['@babel/plugin-transform-modules-commonjs'],
|
||||
plugins: ['@babel/plugin-transform-modules-commonjs', ['@babel/plugin-proposal-private-methods', { loose: false }]],
|
||||
presets: [
|
||||
[
|
||||
'@babel/preset-env',
|
||||
|
||||
@@ -15,6 +15,7 @@ const browserSetupAfterEnvFile = path.resolve(__dirname, './config/jest-browser.
|
||||
const base = {
|
||||
clearMocks: true,
|
||||
coverageDirectory: './.coverage/jsdom',
|
||||
testEnvironment: 'jsdom',
|
||||
moduleDirectories: resolve.directories,
|
||||
moduleFileExtensions: resolve.extensions.map((ext) => ext.replace(/\./, '')),
|
||||
testPathIgnorePatterns: ['\\\\node_modules\\\\'],
|
||||
|
||||
+18
-15
@@ -4,10 +4,10 @@
|
||||
"packages/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.0",
|
||||
"@babel/plugin-transform-runtime": "^7.11.0",
|
||||
"@babel/preset-env": "^7.11.0",
|
||||
"@babel/preset-typescript": "^7.10.4",
|
||||
"@babel/core": "^7.14.6",
|
||||
"@babel/plugin-transform-runtime": "^7.14.5",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"@babel/preset-typescript": "^7.14.5",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@rollup/plugin-commonjs": "^17.0.0",
|
||||
"@rollup/plugin-html": "^0.2.0",
|
||||
@@ -15,10 +15,10 @@
|
||||
"@rollup/plugin-node-resolve": "^11.0.1",
|
||||
"@rollup/plugin-typescript": "^5.0.2",
|
||||
"@testing-library/dom": "^7.26.3",
|
||||
"@types/jest": "^25.2.3",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@typescript-eslint/eslint-plugin": "^3.7.0",
|
||||
"@typescript-eslint/parser": "^3.7.0",
|
||||
"babel-jest": "^26.0.1",
|
||||
"babel-jest": "^27.0.6",
|
||||
"babel-plugin-istanbul": "^6.0.0",
|
||||
"bufferutil": "^4.0.1",
|
||||
"canvas": "^2.6.1",
|
||||
@@ -29,8 +29,8 @@
|
||||
"eslint-config-airbnb": "^18.2.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-jest": "^23.18.0",
|
||||
"eslint-plugin-jest-playwright": "^0.2.1",
|
||||
"eslint-plugin-jest": "^24.3.6",
|
||||
"eslint-plugin-jest-playwright": "^0.4.1",
|
||||
"eslint-plugin-json": "^2.1.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
@@ -39,16 +39,19 @@
|
||||
"expect-playwright": "^0.3.4",
|
||||
"express": "^4.17.1",
|
||||
"glob": "^7.1.6",
|
||||
"jest": "^26.6.0",
|
||||
"jest": "^27.0.6",
|
||||
"jest-circus": "^27.0.6",
|
||||
"jest-dev-server": "^4.4.0",
|
||||
"jest-playwright-preset": "^1.5.2",
|
||||
"jest-environment-node": "^27.0.6",
|
||||
"jest-playwright-preset": "^1.7.0",
|
||||
"jest-runner": "^27.0.6",
|
||||
"mkdirp": "^1.0.4",
|
||||
"node-sass": "^4.14.1",
|
||||
"playwright": "^1.10.0",
|
||||
"playwright-chromium": "^1.10.0",
|
||||
"playwright-core": "^1.10.0",
|
||||
"playwright-firefox": "^1.10.0",
|
||||
"playwright-webkit": "^1.10.0",
|
||||
"playwright": "^1.12.3",
|
||||
"playwright-chromium": "^1.12.3",
|
||||
"playwright-core": "^1.12.3",
|
||||
"playwright-firefox": "^1.12.3",
|
||||
"playwright-webkit": "1.12.3",
|
||||
"prettier": "^2.0.5",
|
||||
"prettier-eslint": "^11.0.0",
|
||||
"rollup": "^2.36.1",
|
||||
|
||||
Reference in New Issue
Block a user