diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index fec0cd9..0000000 --- a/jest.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const os = require('node:os'); -const isWin = os.platform() === 'win32'; -/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */ -const config = { - preset: 'ts-jest', - testEnvironmentOptions: { - url: 'http://localhost/', - }, - testMatch: [ - '/tests/*.test.ts', - // TODO: enable after migrating to separated repo - '/tests/e2e/*.test.js', - ], - testPathIgnorePatterns: [ - // TODO: check why this test timeout - '/tests/e2e/host.test.js', - // TODO: check why this test throw error when run with other tests - '/tests/e2e/watch-files.test.js', - // TODO: check why this test timeout - '/tests/e2e/web-socket-server-url.test.js', - ], - cache: false, - testTimeout: process.env.CI ? 120000 : 30000, - transform: { - '(.*)\\.{js,ts}': [ - 'ts-jest', - { - tsconfig: '/tests/tsconfig.json', - }, - ], - }, - // Add this to find out which test timeouts - // testSequencer: "/tests/helpers/sequencer.js", - snapshotResolver: '/tests/helpers/snapshot-resolver.js', - setupFilesAfterEnv: ['/tests/helpers/setup-test.js'], - globalSetup: '/tests/helpers/global-setup-test.js', - moduleNameMapper: { - '^uuid$': require.resolve('uuid'), - }, -}; - -module.exports = config; diff --git a/package.json b/package.json index a715d7f..b2b0008 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "format": "prettier --write .", "prettier:ci": "prettier --check .", "test:install": "cross-env ./node_modules/.bin/puppeteer browsers install chrome", - "test": "pnpm run test:install && pnpm run build && cross-env NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ./node_modules/jest-cli/bin/jest --colors", + "test": "pnpm run test:install && pnpm run build && rstest", "bump": "npx bumpp" }, "simple-git-hooks": { @@ -62,31 +62,26 @@ }, "devDependencies": { "@biomejs/biome": "^1.8.3", - "@jest/reporters": "29.7.0", - "@jest/test-sequencer": "^29.7.0", + "@hono/node-server": "^1.13.3", "@rspack/core": "1.7.1", "@rspack/plugin-react-refresh": "1.0.0", - "@types/express": "5.0.6", - "@types/jest": "29.5.12", - "@types/mime-types": "3.0.1", - "@types/ws": "8.5.10", + "@rstest/core": "^0.8.5", "@types/compression": "^1.7.2", + "@types/express": "5.0.6", "@types/graceful-fs": "^4.1.9", + "@types/mime-types": "3.0.1", "@types/node": "^24.0.14", "@types/node-forge": "^1.3.1", "@types/sockjs-client": "^1.5.1", "@types/trusted-types": "^2.0.7", - "@hono/node-server": "^1.13.3", + "@types/ws": "8.5.10", + "connect": "^3.7.0", "cross-env": "^7.0.3", "css-loader": "^7.1.2", - "connect": "^3.7.0", + "express": "^5.2.1", "graceful-fs": "4.2.10", - "http-proxy": "^1.18.1", "hono": "^4.6.8", - "jest": "29.7.0", - "jest-cli": "29.7.0", - "jest-environment-node": "29.7.0", - "jest-serializer-path": "^0.1.15", + "http-proxy": "^1.18.1", "nano-staged": "^0.8.0", "prettier": "3.2.5", "puppeteer": "^24.34.0", @@ -97,19 +92,13 @@ "style-loader": "^4.0.0", "supertest": "^6.1.3", "tcp-port-used": "^1.0.2", - "ts-jest": "29.1.2", "typescript": "5.0.2", "wait-for-expect": "^3.0.2", "webpack": "^5.94.0", - "webpack-merge": "^6.0.1", "webpack-dev-middleware": "^7.4.2", - "express": "^5.2.1" + "webpack-merge": "^6.0.1" }, "dependencies": { - "chokidar": "^3.6.0", - "http-proxy-middleware": "^2.0.9", - "p-retry": "^6.2.0", - "ws": "^8.18.0", "@types/bonjour": "^3.5.13", "@types/connect-history-api-fallback": "^1.5.4", "@types/express": "^4.17.25", @@ -120,20 +109,24 @@ "@types/ws": "^8.5.10", "ansi-html-community": "^0.0.8", "bonjour-service": "^1.2.1", + "chokidar": "^3.6.0", "colorette": "^2.0.10", "compression": "^1.8.1", "connect-history-api-fallback": "^2.0.0", "express": "^4.22.1", "graceful-fs": "^4.2.6", + "http-proxy-middleware": "^2.0.9", "ipaddr.js": "^2.1.0", "launch-editor": "^2.6.1", "open": "^10.0.3", + "p-retry": "^6.2.0", "schema-utils": "^4.2.0", "selfsigned": "^2.4.1", "serve-index": "^1.9.1", "sockjs": "^0.3.24", "spdy": "^4.0.2", - "webpack-dev-middleware": "^7.4.2" + "webpack-dev-middleware": "^7.4.2", + "ws": "^8.18.0" }, "peerDependencies": { "@rspack/core": "*" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6fdaeab..8436080 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -99,27 +99,21 @@ importers: '@hono/node-server': specifier: ^1.13.3 version: 1.13.8(hono@4.10.3) - '@jest/reporters': - specifier: 29.7.0 - version: 29.7.0 - '@jest/test-sequencer': - specifier: ^29.7.0 - version: 29.7.0 '@rspack/core': specifier: 1.7.1 - version: 1.7.1 + version: 1.7.1(@swc/helpers@0.5.18) '@rspack/plugin-react-refresh': specifier: 1.0.0 version: 1.0.0(react-refresh@0.14.0) + '@rstest/core': + specifier: ^0.8.5 + version: 0.8.5 '@types/compression': specifier: ^1.7.2 version: 1.8.1 '@types/graceful-fs': specifier: ^4.1.9 version: 4.1.9 - '@types/jest': - specifier: 29.5.12 - version: 29.5.12 '@types/mime-types': specifier: 3.0.1 version: 3.0.1 @@ -143,25 +137,13 @@ importers: version: 7.0.3 css-loader: specifier: ^7.1.2 - version: 7.1.2(@rspack/core@1.7.1)(webpack@5.94.0) + version: 7.1.2(@rspack/core@1.7.1(@swc/helpers@0.5.18))(webpack@5.94.0) hono: specifier: ^4.6.8 version: 4.10.3 http-proxy: specifier: ^1.18.1 version: 1.18.1 - jest: - specifier: 29.7.0 - version: 29.7.0(@types/node@24.10.7) - jest-cli: - specifier: 29.7.0 - version: 29.7.0(@types/node@24.10.7) - jest-environment-node: - specifier: 29.7.0 - version: 29.7.0 - jest-serializer-path: - specifier: ^0.1.15 - version: 0.1.15 nano-staged: specifier: ^0.8.0 version: 0.8.0 @@ -192,9 +174,6 @@ importers: tcp-port-used: specifier: ^1.0.2 version: 1.0.2 - ts-jest: - specifier: 29.1.2 - version: 29.1.2(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@24.10.7))(typescript@5.0.2) typescript: specifier: 5.0.2 version: 5.0.2 @@ -210,179 +189,18 @@ importers: packages: - '@ampproject/remapping@2.3.0': - resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} - engines: {node: '>=6.0.0'} - '@babel/code-frame@7.24.7': resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.25.4': - resolution: {integrity: sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==} - engines: {node: '>=6.9.0'} - - '@babel/core@7.25.2': - resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} - engines: {node: '>=6.9.0'} - - '@babel/generator@7.25.6': - resolution: {integrity: sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-compilation-targets@7.25.2': - resolution: {integrity: sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-imports@7.24.7': - resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-transforms@7.25.2': - resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - - '@babel/helper-plugin-utils@7.24.8': - resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} - engines: {node: '>=6.9.0'} - - '@babel/helper-simple-access@7.24.7': - resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} - engines: {node: '>=6.9.0'} - - '@babel/helper-string-parser@7.24.8': - resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.24.7': resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@7.24.8': - resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} - engines: {node: '>=6.9.0'} - - '@babel/helpers@7.25.6': - resolution: {integrity: sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==} - engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.7': resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.6': - resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} - engines: {node: '>=6.0.0'} - hasBin: true - - '@babel/plugin-syntax-async-generators@7.8.4': - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-bigint@7.8.3': - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-class-properties@7.12.13': - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-import-attributes@7.25.6': - resolution: {integrity: sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-import-meta@7.10.4': - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-json-strings@7.8.3': - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-jsx@7.24.7': - resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-typescript@7.25.4': - resolution: {integrity: sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/template@7.25.0': - resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} - engines: {node: '>=6.9.0'} - - '@babel/traverse@7.25.6': - resolution: {integrity: sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==} - engines: {node: '>=6.9.0'} - - '@babel/types@7.25.6': - resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} - engines: {node: '>=6.9.0'} - - '@bcoe/v8-coverage@0.2.3': - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - '@biomejs/biome@1.9.2': resolution: {integrity: sha512-4j2Gfwft8Jqp1X0qLYvK4TEy4xhTo4o6rlvJPsjPeEame8gsmbGQfOPBkw7ur+7/Z/f0HZmCZKqbMvR7vTXQYQ==} engines: {node: '>=14.21.3'} @@ -451,80 +269,6 @@ packages: peerDependencies: hono: ^4 - '@istanbuljs/load-nyc-config@1.1.0': - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - - '@istanbuljs/schema@0.1.3': - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - - '@jest/console@29.7.0': - resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/core@29.7.0': - resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - '@jest/environment@29.7.0': - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/expect-utils@29.7.0': - resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/expect@29.7.0': - resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/fake-timers@29.7.0': - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/globals@29.7.0': - resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/reporters@29.7.0': - resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/source-map@29.6.3': - resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/test-result@29.7.0': - resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/test-sequencer@29.7.0': - resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/transform@29.7.0': - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/types@29.6.3': - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -593,58 +337,115 @@ packages: engines: {node: '>=18'} hasBin: true + '@rsbuild/core@1.7.3': + resolution: {integrity: sha512-kI1oQvCXbQYxUvQPnDLdjSX4gFsbrFNpuUj6jXEJ7IcJ74Q+n4oeFj74/8tKerhxhe0L90m/ZQfzLeN5ORGA9w==} + engines: {node: '>=18.12.0'} + hasBin: true + '@rspack/binding-darwin-arm64@1.7.1': resolution: {integrity: sha512-3C0w0kfCHfgOH+AP/Dx1bm/b3AR/or5CmU22Abevek0m95ndU3iT902eLcm9JNiMQnDQLBQbolfj5P591t0oPg==} cpu: [arm64] os: [darwin] + '@rspack/binding-darwin-arm64@1.7.6': + resolution: {integrity: sha512-NZ9AWtB1COLUX1tA9HQQvWpTy07NSFfKBU8A6ylWd5KH8AePZztpNgLLAVPTuNO4CZXYpwcoclf8jG/luJcQdQ==} + cpu: [arm64] + os: [darwin] + '@rspack/binding-darwin-x64@1.7.1': resolution: {integrity: sha512-HTrBpdw2gWwcpJ3c8h4JF8B1YRNvrFT+K620ycttrlu/HvI4/U770BBJ/ej36R/hdh59JvMCGe+w49FyXv6rzg==} cpu: [x64] os: [darwin] + '@rspack/binding-darwin-x64@1.7.6': + resolution: {integrity: sha512-J2g6xk8ZS7uc024dNTGTHxoFzFovAZIRixUG7PiciLKTMP78svbSSWrmW6N8oAsAkzYfJWwQpVgWfFNRHvYxSw==} + cpu: [x64] + os: [darwin] + '@rspack/binding-linux-arm64-gnu@1.7.1': resolution: {integrity: sha512-BX9yAPCO0WBFyOzKl9bSXT/cH27nnOJp02smIQMxfv7RNfwGkJg5GgakYcuYG+9U1HEFitBSzmwS2+dxDcAxlg==} cpu: [arm64] os: [linux] + '@rspack/binding-linux-arm64-gnu@1.7.6': + resolution: {integrity: sha512-eQfcsaxhFrv5FmtaA7+O1F9/2yFDNIoPZzV/ZvqvFz5bBXVc4FAm/1fVpBg8Po/kX1h0chBc7Xkpry3cabFW8w==} + cpu: [arm64] + os: [linux] + '@rspack/binding-linux-arm64-musl@1.7.1': resolution: {integrity: sha512-maBX19XyiVkxzh/NA79ALetCobc4zUyoWkWLeCGyW5xKzhPVFatJp+qCiHqHkqUZcgRo+1i5ihoZ2bXmelIeZg==} cpu: [arm64] os: [linux] + '@rspack/binding-linux-arm64-musl@1.7.6': + resolution: {integrity: sha512-DfQXKiyPIl7i1yECHy4eAkSmlUzzsSAbOjgMuKn7pudsWf483jg0UUYutNgXSlBjc/QSUp7906Cg8oty9OfwPA==} + cpu: [arm64] + os: [linux] + '@rspack/binding-linux-x64-gnu@1.7.1': resolution: {integrity: sha512-8KJAeBLiWcN7zEc9aaS7LRJPZVtZuQU8mCsn+fRhdQDSc+a9FcTN8b6Lw29z8cejwbU6Gxr/8wk5XGexMWFaZA==} cpu: [x64] os: [linux] + '@rspack/binding-linux-x64-gnu@1.7.6': + resolution: {integrity: sha512-NdA+2X3lk2GGrMMnTGyYTzM3pn+zNjaqXqlgKmFBXvjfZqzSsKq3pdD1KHZCd5QHN+Fwvoszj0JFsquEVhE1og==} + cpu: [x64] + os: [linux] + '@rspack/binding-linux-x64-musl@1.7.1': resolution: {integrity: sha512-Gn9x5vhKRELvSoZ3ZjquY8eWtCXur0OsYnZ2/ump8mofM6IDaL7Qqu3Hf4Kud31PDH0tfz0jWf9piX32HHPmgg==} cpu: [x64] os: [linux] + '@rspack/binding-linux-x64-musl@1.7.6': + resolution: {integrity: sha512-rEy6MHKob02t/77YNgr6dREyJ0e0tv1X6Xsg8Z5E7rPXead06zefUbfazj4RELYySWnM38ovZyJAkPx/gOn3VA==} + cpu: [x64] + os: [linux] + '@rspack/binding-wasm32-wasi@1.7.1': resolution: {integrity: sha512-2r9M5iVchmsFkp3sz7A5YnMm2TfpkB71LK3AoaRWKMfvf5oFky0GSGISYd2TCBASO+X2Qskaq+B24Szo8zH5FA==} cpu: [wasm32] + '@rspack/binding-wasm32-wasi@1.7.6': + resolution: {integrity: sha512-YupOrz0daSG+YBbCIgpDgzfMM38YpChv+afZpaxx5Ml7xPeAZIIdgWmLHnQ2rts73N2M1NspAiBwV00Xx0N4Vg==} + cpu: [wasm32] + '@rspack/binding-win32-arm64-msvc@1.7.1': resolution: {integrity: sha512-/WIHp982yqqqAuiz2WLtf1ofo9d1lHDGZJ7flxFllb1iMgnUeSRyX6stxEi11K3Rg6pQa7FdCZGKX/engyj2bw==} cpu: [arm64] os: [win32] + '@rspack/binding-win32-arm64-msvc@1.7.6': + resolution: {integrity: sha512-INj7aVXjBvlZ84kEhSK4kJ484ub0i+BzgnjDWOWM1K+eFYDZjLdAsQSS3fGGXwVc3qKbPIssFfnftATDMTEJHQ==} + cpu: [arm64] + os: [win32] + '@rspack/binding-win32-ia32-msvc@1.7.1': resolution: {integrity: sha512-Kpela29n+kDGGsss6q/3qTd6n9VW7TOQaiA7t1YLdCCl8qqcdKlz/vWjFMd2MqgcSGC/16PvChE4sgpUvryfCQ==} cpu: [ia32] os: [win32] + '@rspack/binding-win32-ia32-msvc@1.7.6': + resolution: {integrity: sha512-lXGvC+z67UMcw58In12h8zCa9IyYRmuptUBMItQJzu+M278aMuD1nETyGLL7e4+OZ2lvrnnBIcjXN1hfw2yRzw==} + cpu: [ia32] + os: [win32] + '@rspack/binding-win32-x64-msvc@1.7.1': resolution: {integrity: sha512-B/y4MWqP2Xeto1/HV0qtZNOMPSLrEVOqi2b7JSIXG/bhlf+3IAkDzEEoHs+ZikLR4C8hMaS0pVJsDGKFmGzC9A==} cpu: [x64] os: [win32] + '@rspack/binding-win32-x64-msvc@1.7.6': + resolution: {integrity: sha512-zeUxEc0ZaPpmaYlCeWcjSJUPuRRySiSHN23oJ2Xyw0jsQ01Qm4OScPdr0RhEOFuK/UE+ANyRtDo4zJsY52Hadw==} + cpu: [x64] + os: [win32] + '@rspack/binding@1.7.1': resolution: {integrity: sha512-qVTV1/UWpMSZktvK5A8+HolgR1Qf0nYR3Gg4Vax5x3/BcHDpwGZ0fbdFRUirGVWH/XwxZ81zoI6F2SZq7xbX+w==} + '@rspack/binding@1.7.6': + resolution: {integrity: sha512-/NrEcfo8Gx22hLGysanrV6gHMuqZSxToSci/3M4kzEQtF5cPjfOv5pqeLK/+B6cr56ul/OmE96cCdWcXeVnFjQ==} + '@rspack/core@1.7.1': resolution: {integrity: sha512-kRxfY8RRa6nU3/viDvAIP6CRpx+0rfXFRonPL0pHBx8u6HhV7m9rLEyaN6MWsLgNIAWkleFGb7tdo4ux2ljRJQ==} engines: {node: '>=18.12.0'} @@ -654,6 +455,15 @@ packages: '@swc/helpers': optional: true + '@rspack/core@1.7.6': + resolution: {integrity: sha512-Iax6UhrfZqJajA778c1d5DBFbSIqPOSrI34kpNIiNpWd8Jq7mFIa+Z60SQb5ZQDZuUxcCZikjz5BxinFjTkg7Q==} + engines: {node: '>=18.12.0'} + peerDependencies: + '@swc/helpers': '>=0.5.1' + peerDependenciesMeta: + '@swc/helpers': + optional: true + '@rspack/lite-tapable@1.1.0': resolution: {integrity: sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==} @@ -665,14 +475,21 @@ packages: react-refresh: optional: true - '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - - '@sinonjs/commons@3.0.1': - resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} + '@rstest/core@0.8.5': + resolution: {integrity: sha512-4E9pXpy2Jxy1+J4mqGnsVQn7gVnkIv2lA7AbwAY0Zy90jJo+YCchpTGosba/jhBJJhETRAr3GIkPUECxFoyQ9A==} + engines: {node: '>=18.12.0'} + hasBin: true + peerDependencies: + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + happy-dom: + optional: true + jsdom: + optional: true - '@sinonjs/fake-timers@10.3.0': - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + '@swc/helpers@0.5.18': + resolution: {integrity: sha512-TXTnIcNJQEKwThMMqBXsZ4VGAza6bvN4pa41Rkqoio6QBKMvo+5lexeTMScGCIxtzgQJzElcvIltani+adC5PQ==} '@tootallnate/quickjs-emscripten@0.23.0': resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==} @@ -680,24 +497,15 @@ packages: '@tybys/wasm-util@0.10.1': resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} - '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - - '@types/babel__generator@7.6.8': - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} - - '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - - '@types/babel__traverse@7.20.6': - resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} - '@types/body-parser@1.19.5': resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} '@types/bonjour@3.5.13': resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + '@types/compression@1.8.1': resolution: {integrity: sha512-kCFuWS0ebDbmxs0AXYn6e2r2nrGAb5KwQhknjSPSPgJcGd8+HVSILlUyFhGqML2gk39HcG7D1ydW9/qpYkN00Q==} @@ -707,6 +515,9 @@ packages: '@types/connect@3.4.38': resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -725,18 +536,6 @@ packages: '@types/http-proxy@1.17.16': resolution: {integrity: sha512-sdWoUajOB1cd0A8cRRQ1cfyWNbmFKLAqBB89Y8x5iYyG/mkJHc0YUH8pdWBy2omi9qtCpiIgGjuwO0dQST2l5w==} - '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} - - '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} - - '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - - '@types/jest@29.5.12': - resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -776,21 +575,12 @@ packages: '@types/sockjs@0.3.36': resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} - '@types/stack-utils@2.0.3': - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} - '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} '@types/ws@8.5.10': resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} - '@types/yargs-parser@21.0.3': - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - - '@types/yargs@17.0.33': - resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} @@ -887,10 +677,6 @@ packages: ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} - ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} @@ -908,17 +694,10 @@ packages: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} - argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -928,6 +707,10 @@ packages: asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + ast-types@0.13.4: resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} engines: {node: '>=4'} @@ -938,34 +721,6 @@ packages: b4a@1.6.6: resolution: {integrity: sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==} - babel-jest@29.7.0: - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.8.0 - - babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - - babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - babel-preset-current-node-syntax@1.1.0: - resolution: {integrity: sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==} - peerDependencies: - '@babel/core': ^7.0.0 - - babel-preset-jest@29.6.3: - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.0.0 - - balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - bare-events@2.4.2: resolution: {integrity: sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==} @@ -1025,9 +780,6 @@ packages: bonjour-service@1.2.1: resolution: {integrity: sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==} - brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} @@ -1037,13 +789,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} - - bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} @@ -1074,14 +819,6 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - - camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - caniuse-lite@1.0.30001715: resolution: {integrity: sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw==} @@ -1089,14 +826,6 @@ packages: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - - char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} - chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -1110,13 +839,6 @@ packages: peerDependencies: devtools-protocol: '*' - ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} - - cjs-module-lexer@1.4.1: - resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} - cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -1125,13 +847,6 @@ packages: resolution: {integrity: sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==} engines: {node: '>=6'} - co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - - collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} - color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -1166,9 +881,6 @@ packages: resolution: {integrity: sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==} engines: {node: '>= 0.8.0'} - concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - connect-history-api-fallback@2.0.0: resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==} engines: {node: '>=0.8'} @@ -1185,9 +897,6 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} - convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} @@ -1198,6 +907,9 @@ packages: cookiejar@2.1.4: resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==} + core-js@3.47.0: + resolution: {integrity: sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==} + core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -1210,11 +922,6 @@ packages: typescript: optional: true - create-jest@29.7.0: - resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - cross-env@7.0.3: resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} @@ -1288,21 +995,9 @@ packages: supports-color: optional: true - dedent@1.5.3: - resolution: {integrity: sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==} - peerDependencies: - babel-plugin-macros: ^3.1.0 - peerDependenciesMeta: - babel-plugin-macros: - optional: true - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - default-browser-id@5.0.0: resolution: {integrity: sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==} engines: {node: '>=18'} @@ -1339,10 +1034,6 @@ packages: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} - detect-node@2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} @@ -1352,10 +1043,6 @@ packages: dezalgo@1.0.4: resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} - diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dns-packet@5.6.1: resolution: {integrity: sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==} engines: {node: '>=6'} @@ -1370,10 +1057,6 @@ packages: electron-to-chromium@1.5.27: resolution: {integrity: sha512-o37j1vZqCoEgBuWWXLHQgTN/KDKe7zwpiY5CPeq2RvUqOyJw9xnrULzZAEVQ5p4h+zjMk7hgtOoPdnLxr7m/jw==} - emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} - emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1432,10 +1115,6 @@ packages: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} - escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} - escodegen@2.1.0: resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} engines: {node: '>=6.0'} @@ -1484,18 +1163,6 @@ packages: resolution: {integrity: sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==} engines: {node: '>=12.0.0'} - execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} - - exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} - - expect@29.7.0: - resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - express@4.22.1: resolution: {integrity: sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==} engines: {node: '>= 0.10.0'} @@ -1524,9 +1191,6 @@ packages: resolution: {integrity: sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==} engines: {node: '>=0.8.0'} - fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} - fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} @@ -1542,10 +1206,6 @@ packages: resolution: {integrity: sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==} engines: {node: '>= 0.8'} - find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true @@ -1579,9 +1239,6 @@ packages: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} - fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -1590,10 +1247,6 @@ packages: function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} @@ -1606,10 +1259,6 @@ packages: resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} engines: {node: '>= 0.4'} - get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - get-proto@1.0.1: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} @@ -1618,10 +1267,6 @@ packages: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} - get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} - get-uri@6.0.3: resolution: {integrity: sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==} engines: {node: '>= 14'} @@ -1633,14 +1278,6 @@ packages: glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported - - globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -1695,9 +1332,6 @@ packages: html-entities@2.5.2: resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} - html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - http-deceiver@1.2.7: resolution: {integrity: sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==} @@ -1737,10 +1371,6 @@ packages: resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} engines: {node: '>= 14'} - human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} - hyperdyperid@1.2.0: resolution: {integrity: sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==} engines: {node: '>=10.18'} @@ -1759,19 +1389,6 @@ packages: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} - import-local@3.2.0: - resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==} - engines: {node: '>=8'} - hasBin: true - - imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - - inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. - inherits@2.0.3: resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} @@ -1801,10 +1418,6 @@ packages: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} - is-core-module@2.15.1: - resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} - engines: {node: '>= 0.4'} - is-docker@3.0.0: resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -1818,10 +1431,6 @@ packages: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} - is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -1847,10 +1456,6 @@ packages: resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} engines: {node: '>=0.10.0'} - is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - is-url@1.2.4: resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} @@ -1872,186 +1477,24 @@ packages: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} engines: {node: '>=0.10.0'} - istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} + jest-worker@27.5.1: + resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + engines: {node: '>= 10.13.0'} - istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} + jiti@2.6.1: + resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} + hasBin: true - istanbul-lib-instrument@6.0.3: - resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} - engines: {node: '>=10'} + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} - - istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} - - istanbul-reports@3.1.7: - resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} - engines: {node: '>=8'} - - jest-changed-files@29.7.0: - resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-circus@29.7.0: - resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-cli@29.7.0: - resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - jest-config@29.7.0: - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - - jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-docblock@29.7.0: - resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-each@29.7.0: - resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-leak-detector@29.7.0: - resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-matcher-utils@29.7.0: - resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-pnp-resolver@1.2.3: - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true - - jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-resolve-dependencies@29.7.0: - resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-resolve@29.7.0: - resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-runner@29.7.0: - resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-runtime@29.7.0: - resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-serializer-path@0.1.15: - resolution: {integrity: sha512-sXb+Ckz9LK5bB5sRAXFeG/nwhGn1XBKayy9xhPpgOmAWaljJiS+VN/xJ3P4I19jZ+WejowvO/kES+A9HePTMvQ==} - engines: {node: '>=6.4.x', npm: '>=3.10.3'} - - jest-snapshot@29.7.0: - resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-watcher@29.7.0: - resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-worker@27.5.1: - resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} - engines: {node: '>= 10.13.0'} - - jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest@29.7.0: - resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - - js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true - - js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true jsbn@1.1.0: resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==} - jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -2061,11 +1504,6 @@ packages: json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -2073,17 +1511,9 @@ packages: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - launch-editor@2.9.1: resolution: {integrity: sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==} - leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -2091,36 +1521,10 @@ packages: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} - locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} - - lodash.clonedeep@4.5.0: - resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==} - - lodash.iserror@3.1.1: - resolution: {integrity: sha512-eT/VeNns9hS7vAj1NKW/rRX6b+C3UX3/IAAqEE7aC4Oo2C0iD82NaP5IS4bSlQsammTii4qBJ8G1zd1LTL8hCw==} - - lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - - lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - lru-cache@7.18.3: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} - make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} - - make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - - makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - math-intrinsics@1.1.0: resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} engines: {node: '>= 0.4'} @@ -2169,16 +1573,9 @@ packages: engines: {node: '>=4.0.0'} hasBin: true - mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - minimalistic-assert@1.0.1: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} - minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} @@ -2205,9 +1602,6 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -2227,9 +1621,6 @@ packages: resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} engines: {node: '>= 6.13.0'} - node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} @@ -2237,10 +1628,6 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} - object-inspect@1.13.2: resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} engines: {node: '>= 0.4'} @@ -2267,34 +1654,14 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} - open@10.1.0: resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==} engines: {node: '>=18'} - p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} - - p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} - - p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - p-retry@6.2.0: resolution: {integrity: sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA==} engines: {node: '>=16.17'} - p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} - pac-proxy-agent@7.2.0: resolution: {integrity: sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==} engines: {node: '>= 14'} @@ -2315,21 +1682,10 @@ packages: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} - path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - - path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - path-to-regexp@0.1.12: resolution: {integrity: sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==} @@ -2343,14 +1699,6 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - - pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - postcss-modules-extract-imports@3.1.0: resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==} engines: {node: ^10 || ^12 || >= 14} @@ -2391,10 +1739,6 @@ packages: engines: {node: '>=14'} hasBin: true - pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} @@ -2402,10 +1746,6 @@ packages: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} - prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -2433,9 +1773,6 @@ packages: engines: {node: '>=18'} hasBin: true - pure-rand@6.1.0: - resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==} - qs@6.13.0: resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==} engines: {node: '>=0.6'} @@ -2461,9 +1798,6 @@ packages: resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} engines: {node: '>= 0.8'} - react-is@18.3.1: - resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - react-refresh@0.14.0: resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==} engines: {node: '>=0.10.0'} @@ -2490,26 +1824,10 @@ packages: requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} - resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} - resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - - resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} - - resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true - retry@0.13.1: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} engines: {node: '>= 4'} @@ -2542,10 +1860,6 @@ packages: resolution: {integrity: sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==} engines: {node: '>=10'} - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -2616,24 +1930,10 @@ packages: resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} engines: {node: '>= 0.4'} - signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - simple-git-hooks@2.11.1: resolution: {integrity: sha512-tgqwPUMDcNDhuf1Xf6KTUsyeqGdgKMhzaH4PAZZuzguOgTl5uuyeYe/8mWgAr6IBxB5V06uqEf6Dy37gIWDtDg==} hasBin: true - sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - - slash@2.0.0: - resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==} - engines: {node: '>=6'} - - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -2657,9 +1957,6 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} - source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} - source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -2674,16 +1971,9 @@ packages: resolution: {integrity: sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==} engines: {node: '>=6.0.0'} - sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - sprintf-js@1.1.3: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} - stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} - stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} @@ -2705,10 +1995,6 @@ packages: streamx@2.23.0: resolution: {integrity: sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg==} - string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} - string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -2723,18 +2009,6 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} - - strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - style-loader@4.0.0: resolution: {integrity: sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==} engines: {node: '>= 18.12.0'} @@ -2755,18 +2029,10 @@ packages: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - supports-color@8.1.1: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} - supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -2801,10 +2067,6 @@ packages: engines: {node: '>=10'} hasBin: true - test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - text-decoder@1.2.0: resolution: {integrity: sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==} @@ -2817,12 +2079,9 @@ packages: thunky@1.1.0: resolution: {integrity: sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==} - tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - - to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} + tinypool@1.1.1: + resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} + engines: {node: ^18.0.0 || >=20.0.0} to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -2838,41 +2097,12 @@ packages: peerDependencies: tslib: '2' - ts-jest@29.1.2: - resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==} - engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3 <6' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - - type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -2919,10 +2149,6 @@ packages: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true - v8-to-istanbul@9.3.0: - resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} - engines: {node: '>=10.12.0'} - vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -2930,9 +2156,6 @@ packages: wait-for-expect@3.0.2: resolution: {integrity: sha512-cfS1+DZxuav1aBYbaO/kE06EOS8yRw7qOFoD3XtjTkYvCvh3zUvNST8DXK/nPaeqIzIv3P3kL3lRJn8iwOiSag==} - walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - watchpack@2.4.2: resolution: {integrity: sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==} engines: {node: '>=10.13.0'} @@ -2993,10 +2216,6 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - ws@8.18.0: resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} @@ -3025,9 +2244,6 @@ packages: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} - yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -3039,99 +2255,18 @@ packages: yauzl@2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} - yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} snapshots: - '@ampproject/remapping@2.3.0': - dependencies: - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 picocolors: 1.1.0 - '@babel/compat-data@7.25.4': {} - - '@babel/core@7.25.2': - dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.6 - '@babel/helper-compilation-targets': 7.25.2 - '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) - '@babel/helpers': 7.25.6 - '@babel/parser': 7.25.6 - '@babel/template': 7.25.0 - '@babel/traverse': 7.25.6 - '@babel/types': 7.25.6 - convert-source-map: 2.0.0 - debug: 4.4.3 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - '@babel/generator@7.25.6': - dependencies: - '@babel/types': 7.25.6 - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 - - '@babel/helper-compilation-targets@7.25.2': - dependencies: - '@babel/compat-data': 7.25.4 - '@babel/helper-validator-option': 7.24.8 - browserslist: 4.23.3 - lru-cache: 5.1.1 - semver: 6.3.1 - - '@babel/helper-module-imports@7.24.7': - dependencies: - '@babel/traverse': 7.25.6 - '@babel/types': 7.25.6 - transitivePeerDependencies: - - supports-color - - '@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.24.7 - '@babel/helper-simple-access': 7.24.7 - '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.6 - transitivePeerDependencies: - - supports-color - - '@babel/helper-plugin-utils@7.24.8': {} - - '@babel/helper-simple-access@7.24.7': - dependencies: - '@babel/traverse': 7.25.6 - '@babel/types': 7.25.6 - transitivePeerDependencies: - - supports-color - - '@babel/helper-string-parser@7.24.8': {} - '@babel/helper-validator-identifier@7.24.7': {} - '@babel/helper-validator-option@7.24.8': {} - - '@babel/helpers@7.25.6': - dependencies: - '@babel/template': 7.25.0 - '@babel/types': 7.25.6 - '@babel/highlight@7.24.7': dependencies: '@babel/helper-validator-identifier': 7.24.7 @@ -3139,121 +2274,6 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.0 - '@babel/parser@7.25.6': - dependencies: - '@babel/types': 7.25.6 - - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-import-attributes@7.25.6(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-typescript@7.25.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/template@7.25.0': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 - - '@babel/traverse@7.25.6': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.6 - '@babel/parser': 7.25.6 - '@babel/template': 7.25.0 - '@babel/types': 7.25.6 - debug: 4.4.3 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - - '@babel/types@7.25.6': - dependencies: - '@babel/helper-string-parser': 7.24.8 - '@babel/helper-validator-identifier': 7.24.7 - to-fast-properties: 2.0.0 - - '@bcoe/v8-coverage@0.2.3': {} - '@biomejs/biome@1.9.2': optionalDependencies: '@biomejs/cli-darwin-arm64': 1.9.2 @@ -3309,178 +2329,6 @@ snapshots: dependencies: hono: 4.10.3 - '@istanbuljs/load-nyc-config@1.1.0': - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - - '@istanbuljs/schema@0.1.3': {} - - '@jest/console@29.7.0': - dependencies: - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - chalk: 4.1.2 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - slash: 3.0.0 - - '@jest/core@29.7.0': - dependencies: - '@jest/console': 29.7.0 - '@jest/reporters': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - ci-info: 3.9.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@24.10.7) - jest-haste-map: 29.7.0 - jest-message-util: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-resolve-dependencies: 29.7.0 - jest-runner: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - jest-watcher: 29.7.0 - micromatch: 4.0.8 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - ts-node - - '@jest/environment@29.7.0': - dependencies: - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - jest-mock: 29.7.0 - - '@jest/expect-utils@29.7.0': - dependencies: - jest-get-type: 29.6.3 - - '@jest/expect@29.7.0': - dependencies: - expect: 29.7.0 - jest-snapshot: 29.7.0 - transitivePeerDependencies: - - supports-color - - '@jest/fake-timers@29.7.0': - dependencies: - '@jest/types': 29.6.3 - '@sinonjs/fake-timers': 10.3.0 - '@types/node': 24.10.7 - jest-message-util: 29.7.0 - jest-mock: 29.7.0 - jest-util: 29.7.0 - - '@jest/globals@29.7.0': - dependencies: - '@jest/environment': 29.7.0 - '@jest/expect': 29.7.0 - '@jest/types': 29.6.3 - jest-mock: 29.7.0 - transitivePeerDependencies: - - supports-color - - '@jest/reporters@29.7.0': - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 24.10.7 - chalk: 4.1.2 - collect-v8-coverage: 1.0.2 - exit: 0.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - istanbul-lib-coverage: 3.2.2 - istanbul-lib-instrument: 6.0.3 - istanbul-lib-report: 3.0.1 - istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.7 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - jest-worker: 29.7.0 - slash: 3.0.0 - string-length: 4.0.2 - strip-ansi: 6.0.1 - v8-to-istanbul: 9.3.0 - transitivePeerDependencies: - - supports-color - - '@jest/schemas@29.6.3': - dependencies: - '@sinclair/typebox': 0.27.8 - - '@jest/source-map@29.6.3': - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - callsites: 3.1.0 - graceful-fs: 4.2.11 - - '@jest/test-result@29.7.0': - dependencies: - '@jest/console': 29.7.0 - '@jest/types': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.6 - collect-v8-coverage: 1.0.2 - - '@jest/test-sequencer@29.7.0': - dependencies: - '@jest/test-result': 29.7.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - slash: 3.0.0 - - '@jest/transform@29.7.0': - dependencies: - '@babel/core': 7.25.2 - '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - babel-plugin-istanbul: 6.1.1 - chalk: 4.1.2 - convert-source-map: 2.0.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - micromatch: 4.0.8 - pirates: 4.0.6 - slash: 3.0.0 - write-file-atomic: 4.0.2 - transitivePeerDependencies: - - supports-color - - '@jest/types@29.6.3': - dependencies: - '@jest/schemas': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-reports': 3.0.4 - '@types/node': 24.10.7 - '@types/yargs': 17.0.33 - chalk: 4.1.2 - '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -3567,38 +2415,78 @@ snapshots: - bare-buffer - supports-color + '@rsbuild/core@1.7.3': + dependencies: + '@rspack/core': 1.7.6(@swc/helpers@0.5.18) + '@rspack/lite-tapable': 1.1.0 + '@swc/helpers': 0.5.18 + core-js: 3.47.0 + jiti: 2.6.1 + '@rspack/binding-darwin-arm64@1.7.1': optional: true + '@rspack/binding-darwin-arm64@1.7.6': + optional: true + '@rspack/binding-darwin-x64@1.7.1': optional: true + '@rspack/binding-darwin-x64@1.7.6': + optional: true + '@rspack/binding-linux-arm64-gnu@1.7.1': optional: true + '@rspack/binding-linux-arm64-gnu@1.7.6': + optional: true + '@rspack/binding-linux-arm64-musl@1.7.1': optional: true + '@rspack/binding-linux-arm64-musl@1.7.6': + optional: true + '@rspack/binding-linux-x64-gnu@1.7.1': optional: true + '@rspack/binding-linux-x64-gnu@1.7.6': + optional: true + '@rspack/binding-linux-x64-musl@1.7.1': optional: true + '@rspack/binding-linux-x64-musl@1.7.6': + optional: true + '@rspack/binding-wasm32-wasi@1.7.1': dependencies: '@napi-rs/wasm-runtime': 1.0.7 optional: true + '@rspack/binding-wasm32-wasi@1.7.6': + dependencies: + '@napi-rs/wasm-runtime': 1.0.7 + optional: true + '@rspack/binding-win32-arm64-msvc@1.7.1': optional: true + '@rspack/binding-win32-arm64-msvc@1.7.6': + optional: true + '@rspack/binding-win32-ia32-msvc@1.7.1': optional: true + '@rspack/binding-win32-ia32-msvc@1.7.6': + optional: true + '@rspack/binding-win32-x64-msvc@1.7.1': optional: true + '@rspack/binding-win32-x64-msvc@1.7.6': + optional: true + '@rspack/binding@1.7.1': optionalDependencies: '@rspack/binding-darwin-arm64': 1.7.1 @@ -3612,11 +2500,34 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.7.1 '@rspack/binding-win32-x64-msvc': 1.7.1 - '@rspack/core@1.7.1': + '@rspack/binding@1.7.6': + optionalDependencies: + '@rspack/binding-darwin-arm64': 1.7.6 + '@rspack/binding-darwin-x64': 1.7.6 + '@rspack/binding-linux-arm64-gnu': 1.7.6 + '@rspack/binding-linux-arm64-musl': 1.7.6 + '@rspack/binding-linux-x64-gnu': 1.7.6 + '@rspack/binding-linux-x64-musl': 1.7.6 + '@rspack/binding-wasm32-wasi': 1.7.6 + '@rspack/binding-win32-arm64-msvc': 1.7.6 + '@rspack/binding-win32-ia32-msvc': 1.7.6 + '@rspack/binding-win32-x64-msvc': 1.7.6 + + '@rspack/core@1.7.1(@swc/helpers@0.5.18)': dependencies: '@module-federation/runtime-tools': 0.22.0 '@rspack/binding': 1.7.1 '@rspack/lite-tapable': 1.1.0 + optionalDependencies: + '@swc/helpers': 0.5.18 + + '@rspack/core@1.7.6(@swc/helpers@0.5.18)': + dependencies: + '@module-federation/runtime-tools': 0.22.0 + '@rspack/binding': 1.7.6 + '@rspack/lite-tapable': 1.1.0 + optionalDependencies: + '@swc/helpers': 0.5.18 '@rspack/lite-tapable@1.1.0': {} @@ -3627,15 +2538,15 @@ snapshots: optionalDependencies: react-refresh: 0.14.0 - '@sinclair/typebox@0.27.8': {} - - '@sinonjs/commons@3.0.1': + '@rstest/core@0.8.5': dependencies: - type-detect: 4.0.8 + '@rsbuild/core': 1.7.3 + '@types/chai': 5.2.3 + tinypool: 1.1.1 - '@sinonjs/fake-timers@10.3.0': + '@swc/helpers@0.5.18': dependencies: - '@sinonjs/commons': 3.0.1 + tslib: 2.8.1 '@tootallnate/quickjs-emscripten@0.23.0': {} @@ -3644,27 +2555,6 @@ snapshots: tslib: 2.8.1 optional: true - '@types/babel__core@7.20.5': - dependencies: - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 - '@types/babel__generator': 7.6.8 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.20.6 - - '@types/babel__generator@7.6.8': - dependencies: - '@babel/types': 7.25.6 - - '@types/babel__template@7.4.4': - dependencies: - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 - - '@types/babel__traverse@7.20.6': - dependencies: - '@babel/types': 7.25.6 - '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 @@ -3674,6 +2564,11 @@ snapshots: dependencies: '@types/node': 24.10.7 + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + '@types/compression@1.8.1': dependencies: '@types/express': 4.17.25 @@ -3688,6 +2583,8 @@ snapshots: dependencies: '@types/node': 24.10.7 + '@types/deep-eql@4.0.2': {} + '@types/estree@1.0.6': {} '@types/express-serve-static-core@4.19.5': @@ -3714,21 +2611,6 @@ snapshots: dependencies: '@types/node': 24.10.7 - '@types/istanbul-lib-coverage@2.0.6': {} - - '@types/istanbul-lib-report@3.0.3': - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - - '@types/istanbul-reports@3.0.4': - dependencies: - '@types/istanbul-lib-report': 3.0.3 - - '@types/jest@29.5.12': - dependencies: - expect: 29.7.0 - pretty-format: 29.7.0 - '@types/json-schema@7.0.15': {} '@types/mime-types@3.0.1': {} @@ -3770,20 +2652,12 @@ snapshots: dependencies: '@types/node': 24.10.7 - '@types/stack-utils@2.0.3': {} - '@types/trusted-types@2.0.7': {} '@types/ws@8.5.10': dependencies: '@types/node': 24.10.7 - '@types/yargs-parser@21.0.3': {} - - '@types/yargs@17.0.33': - dependencies: - '@types/yargs-parser': 21.0.3 - '@types/yauzl@2.10.3': dependencies: '@types/node': 24.10.7 @@ -3909,10 +2783,6 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - ansi-escapes@4.3.2: - dependencies: - type-fest: 0.21.3 - ansi-html-community@0.0.8: {} ansi-regex@5.0.1: {} @@ -3925,23 +2795,19 @@ snapshots: dependencies: color-convert: 2.0.1 - ansi-styles@5.2.0: {} - anymatch@3.1.3: dependencies: normalize-path: 3.0.0 picomatch: 2.3.1 - argparse@1.0.10: - dependencies: - sprintf-js: 1.0.3 - argparse@2.0.1: {} array-flatten@1.1.1: {} asap@2.0.6: {} + assertion-error@2.0.1: {} + ast-types@0.13.4: dependencies: tslib: 2.8.1 @@ -3950,63 +2816,6 @@ snapshots: b4a@1.6.6: {} - babel-jest@29.7.0(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - '@jest/transform': 29.7.0 - '@types/babel__core': 7.20.5 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.25.2) - chalk: 4.1.2 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - - babel-plugin-istanbul@6.1.1: - dependencies: - '@babel/helper-plugin-utils': 7.24.8 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.2.1 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - - babel-plugin-jest-hoist@29.6.3: - dependencies: - '@babel/template': 7.25.0 - '@babel/types': 7.25.6 - '@types/babel__core': 7.20.5 - '@types/babel__traverse': 7.20.6 - - babel-preset-current-node-syntax@1.1.0(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.2) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.25.2) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.25.2) - '@babel/plugin-syntax-import-attributes': 7.25.6(@babel/core@7.25.2) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.25.2) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.25.2) - - babel-preset-jest@29.6.3(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.25.2) - - balanced-match@1.0.2: {} - bare-events@2.4.2: optional: true @@ -4074,11 +2883,6 @@ snapshots: fast-deep-equal: 3.1.3 multicast-dns: 7.2.5 - brace-expansion@1.1.11: - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - braces@3.0.3: dependencies: fill-range: 7.1.1 @@ -4090,14 +2894,6 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) - bs-logger@0.2.6: - dependencies: - fast-json-stable-stringify: 2.1.0 - - bser@2.1.1: - dependencies: - node-int64: 0.4.0 - buffer-crc32@0.2.13: {} buffer-from@1.1.2: {} @@ -4128,10 +2924,6 @@ snapshots: callsites@3.1.0: {} - camelcase@5.3.1: {} - - camelcase@6.3.0: {} - caniuse-lite@1.0.30001715: {} chalk@2.4.2: @@ -4140,13 +2932,6 @@ snapshots: escape-string-regexp: 1.0.5 supports-color: 5.5.0 - chalk@4.1.2: - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - - char-regex@1.0.2: {} - chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -4167,10 +2952,6 @@ snapshots: mitt: 3.0.1 zod: 3.25.76 - ci-info@3.9.0: {} - - cjs-module-lexer@1.4.1: {} - cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -4183,10 +2964,6 @@ snapshots: kind-of: 6.0.3 shallow-clone: 3.0.1 - co@4.6.0: {} - - collect-v8-coverage@1.0.2: {} - color-convert@1.9.3: dependencies: color-name: 1.1.3 @@ -4225,8 +3002,6 @@ snapshots: transitivePeerDependencies: - supports-color - concat-map@0.0.1: {} - connect-history-api-fallback@2.0.0: {} connect@3.7.0: @@ -4244,14 +3019,14 @@ snapshots: content-type@1.0.5: {} - convert-source-map@2.0.0: {} - cookie-signature@1.0.6: {} cookie@0.7.1: {} cookiejar@2.1.4: {} + core-js@3.47.0: {} + core-util-is@1.0.3: {} cosmiconfig@9.0.0(typescript@5.0.2): @@ -4263,21 +3038,6 @@ snapshots: optionalDependencies: typescript: 5.0.2 - create-jest@29.7.0(@types/node@24.10.7): - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@24.10.7) - jest-util: 29.7.0 - prompts: 2.4.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - cross-env@7.0.3: dependencies: cross-spawn: 7.0.3 @@ -4288,7 +3048,7 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-loader@7.1.2(@rspack/core@1.7.1)(webpack@5.94.0): + css-loader@7.1.2(@rspack/core@1.7.1(@swc/helpers@0.5.18))(webpack@5.94.0): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -4299,7 +3059,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.7.1 + '@rspack/core': 1.7.1(@swc/helpers@0.5.18) webpack: 5.94.0 cssesc@3.0.0: {} @@ -4326,12 +3086,8 @@ snapshots: dependencies: ms: 2.1.3 - dedent@1.5.3: {} - deep-is@0.1.4: {} - deepmerge@4.3.1: {} - default-browser-id@5.0.0: {} default-browser@5.2.1: @@ -4361,8 +3117,6 @@ snapshots: destroy@1.2.0: {} - detect-newline@3.1.0: {} - detect-node@2.1.0: {} devtools-protocol@0.0.1534754: {} @@ -4372,8 +3126,6 @@ snapshots: asap: 2.0.6 wrappy: 1.0.2 - diff-sequences@29.6.3: {} - dns-packet@5.6.1: dependencies: '@leichtgewicht/ip-codec': 2.0.5 @@ -4388,8 +3140,6 @@ snapshots: electron-to-chromium@1.5.27: {} - emittery@0.13.1: {} - emoji-regex@8.0.0: {} encodeurl@1.0.2: {} @@ -4435,8 +3185,6 @@ snapshots: escape-string-regexp@1.0.5: {} - escape-string-regexp@2.0.0: {} - escodegen@2.1.0: dependencies: esprima: 4.0.1 @@ -4477,28 +3225,6 @@ snapshots: eventsource@2.0.2: {} - execa@5.1.1: - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - - exit@0.1.2: {} - - expect@29.7.0: - dependencies: - '@jest/expect-utils': 29.7.0 - jest-get-type: 29.6.3 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - express@4.22.1: dependencies: accepts: 1.3.8 @@ -4559,10 +3285,6 @@ snapshots: dependencies: websocket-driver: 0.7.4 - fb-watchman@2.0.2: - dependencies: - bser: 2.1.1 - fd-slicer@1.1.0: dependencies: pend: 1.2.0 @@ -4595,11 +3317,6 @@ snapshots: transitivePeerDependencies: - supports-color - find-up@4.1.0: - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 - flat@5.0.2: {} follow-redirects@1.15.9: {} @@ -4627,15 +3344,11 @@ snapshots: jsonfile: 6.1.0 universalify: 2.0.1 - fs.realpath@1.0.0: {} - fsevents@2.3.3: optional: true function-bind@1.1.2: {} - gensync@1.0.0-beta.2: {} - get-caller-file@2.0.5: {} get-intrinsic@1.2.4: @@ -4659,8 +3372,6 @@ snapshots: hasown: 2.0.2 math-intrinsics: 1.1.0 - get-package-type@0.1.0: {} - get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 @@ -4670,8 +3381,6 @@ snapshots: dependencies: pump: 3.0.2 - get-stream@6.0.1: {} - get-uri@6.0.3: dependencies: basic-ftp: 5.0.5 @@ -4687,17 +3396,6 @@ snapshots: glob-to-regexp@0.4.1: {} - glob@7.2.3: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - globals@11.12.0: {} - gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -4739,8 +3437,6 @@ snapshots: html-entities@2.5.2: {} - html-escaper@2.0.2: {} - http-deceiver@1.2.7: {} http-errors@1.6.3: @@ -4802,8 +3498,6 @@ snapshots: transitivePeerDependencies: - supports-color - human-signals@2.1.0: {} - hyperdyperid@1.2.0: {} iconv-lite@0.4.24: @@ -4819,18 +3513,6 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 - import-local@3.2.0: - dependencies: - pkg-dir: 4.2.0 - resolve-cwd: 3.0.0 - - imurmurhash@0.1.4: {} - - inflight@1.0.6: - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - inherits@2.0.3: {} inherits@2.0.4: {} @@ -4852,18 +3534,12 @@ snapshots: dependencies: binary-extensions: 2.3.0 - is-core-module@2.15.1: - dependencies: - hasown: 2.0.2 - is-docker@3.0.0: {} is-extglob@2.1.1: {} is-fullwidth-code-point@3.0.0: {} - is-generator-fn@2.1.0: {} - is-glob@4.0.3: dependencies: is-extglob: 2.1.1 @@ -4882,8 +3558,6 @@ snapshots: dependencies: isobject: 3.0.1 - is-stream@2.0.1: {} - is-url@1.2.4: {} is-wsl@3.1.0: @@ -4902,390 +3576,28 @@ snapshots: isobject@3.0.1: {} - istanbul-lib-coverage@3.2.2: {} - - istanbul-lib-instrument@5.2.1: - dependencies: - '@babel/core': 7.25.2 - '@babel/parser': 7.25.6 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - istanbul-lib-instrument@6.0.3: - dependencies: - '@babel/core': 7.25.2 - '@babel/parser': 7.25.6 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - istanbul-lib-report@3.0.1: - dependencies: - istanbul-lib-coverage: 3.2.2 - make-dir: 4.0.0 - supports-color: 7.2.0 - - istanbul-lib-source-maps@4.0.1: - dependencies: - debug: 4.3.7 - istanbul-lib-coverage: 3.2.2 - source-map: 0.6.1 - transitivePeerDependencies: - - supports-color - - istanbul-reports@3.1.7: - dependencies: - html-escaper: 2.0.2 - istanbul-lib-report: 3.0.1 - - jest-changed-files@29.7.0: - dependencies: - execa: 5.1.1 - jest-util: 29.7.0 - p-limit: 3.1.0 - - jest-circus@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/expect': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - chalk: 4.1.2 - co: 4.6.0 - dedent: 1.5.3 - is-generator-fn: 2.1.0 - jest-each: 29.7.0 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - p-limit: 3.1.0 - pretty-format: 29.7.0 - pure-rand: 6.1.0 - slash: 3.0.0 - stack-utils: 2.0.6 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-cli@29.7.0(@types/node@24.10.7): - dependencies: - '@jest/core': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - chalk: 4.1.2 - create-jest: 29.7.0(@types/node@24.10.7) - exit: 0.1.2 - import-local: 3.2.0 - jest-config: 29.7.0(@types/node@24.10.7) - jest-util: 29.7.0 - jest-validate: 29.7.0 - yargs: 17.7.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - jest-config@29.7.0(@types/node@24.10.7): - dependencies: - '@babel/core': 7.25.2 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.2) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.8 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 24.10.7 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-diff@29.7.0: - dependencies: - chalk: 4.1.2 - diff-sequences: 29.6.3 - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-docblock@29.7.0: - dependencies: - detect-newline: 3.1.0 - - jest-each@29.7.0: - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - jest-get-type: 29.6.3 - jest-util: 29.7.0 - pretty-format: 29.7.0 - - jest-environment-node@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - jest-mock: 29.7.0 - jest-util: 29.7.0 - - jest-get-type@29.6.3: {} - - jest-haste-map@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/graceful-fs': 4.1.9 - '@types/node': 24.10.7 - anymatch: 3.1.3 - fb-watchman: 2.0.2 - graceful-fs: 4.2.11 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - jest-worker: 29.7.0 - micromatch: 4.0.8 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 - - jest-leak-detector@29.7.0: - dependencies: - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-matcher-utils@29.7.0: - dependencies: - chalk: 4.1.2 - jest-diff: 29.7.0 - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-message-util@29.7.0: - dependencies: - '@babel/code-frame': 7.24.7 - '@jest/types': 29.6.3 - '@types/stack-utils': 2.0.3 - chalk: 4.1.2 - graceful-fs: 4.2.11 - micromatch: 4.0.8 - pretty-format: 29.7.0 - slash: 3.0.0 - stack-utils: 2.0.6 - - jest-mock@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - jest-util: 29.7.0 - - jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): - optionalDependencies: - jest-resolve: 29.7.0 - - jest-regex-util@29.6.3: {} - - jest-resolve-dependencies@29.7.0: - dependencies: - jest-regex-util: 29.6.3 - jest-snapshot: 29.7.0 - transitivePeerDependencies: - - supports-color - - jest-resolve@29.7.0: - dependencies: - chalk: 4.1.2 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-pnp-resolver: 1.2.3(jest-resolve@29.7.0) - jest-util: 29.7.0 - jest-validate: 29.7.0 - resolve: 1.22.8 - resolve.exports: 2.0.2 - slash: 3.0.0 - - jest-runner@29.7.0: - dependencies: - '@jest/console': 29.7.0 - '@jest/environment': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - chalk: 4.1.2 - emittery: 0.13.1 - graceful-fs: 4.2.11 - jest-docblock: 29.7.0 - jest-environment-node: 29.7.0 - jest-haste-map: 29.7.0 - jest-leak-detector: 29.7.0 - jest-message-util: 29.7.0 - jest-resolve: 29.7.0 - jest-runtime: 29.7.0 - jest-util: 29.7.0 - jest-watcher: 29.7.0 - jest-worker: 29.7.0 - p-limit: 3.1.0 - source-map-support: 0.5.13 - transitivePeerDependencies: - - supports-color - - jest-runtime@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/globals': 29.7.0 - '@jest/source-map': 29.6.3 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - chalk: 4.1.2 - cjs-module-lexer: 1.4.1 - collect-v8-coverage: 1.0.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-message-util: 29.7.0 - jest-mock: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - slash: 3.0.0 - strip-bom: 4.0.0 - transitivePeerDependencies: - - supports-color - - jest-serializer-path@0.1.15: - dependencies: - lodash.clonedeep: 4.5.0 - lodash.iserror: 3.1.1 - slash: 2.0.0 - - jest-snapshot@29.7.0: - dependencies: - '@babel/core': 7.25.2 - '@babel/generator': 7.25.6 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-syntax-typescript': 7.25.4(@babel/core@7.25.2) - '@babel/types': 7.25.6 - '@jest/expect-utils': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.25.2) - chalk: 4.1.2 - expect: 29.7.0 - graceful-fs: 4.2.11 - jest-diff: 29.7.0 - jest-get-type: 29.6.3 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - natural-compare: 1.4.0 - pretty-format: 29.7.0 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - jest-util@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - chalk: 4.1.2 - ci-info: 3.9.0 - graceful-fs: 4.2.11 - picomatch: 2.3.1 - - jest-validate@29.7.0: - dependencies: - '@jest/types': 29.6.3 - camelcase: 6.3.0 - chalk: 4.1.2 - jest-get-type: 29.6.3 - leven: 3.1.0 - pretty-format: 29.7.0 - - jest-watcher@29.7.0: - dependencies: - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 24.10.7 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - emittery: 0.13.1 - jest-util: 29.7.0 - string-length: 4.0.2 - jest-worker@27.5.1: dependencies: '@types/node': 24.10.7 merge-stream: 2.0.0 supports-color: 8.1.1 - jest-worker@29.7.0: - dependencies: - '@types/node': 24.10.7 - jest-util: 29.7.0 - merge-stream: 2.0.0 - supports-color: 8.1.1 - - jest@29.7.0(@types/node@24.10.7): - dependencies: - '@jest/core': 29.7.0 - '@jest/types': 29.6.3 - import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@24.10.7) - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node + jiti@2.6.1: {} js-tokens@4.0.0: {} - js-yaml@3.14.1: - dependencies: - argparse: 1.0.10 - esprima: 4.0.1 - js-yaml@4.1.0: dependencies: argparse: 2.0.1 jsbn@1.1.0: {} - jsesc@2.5.2: {} - json-parse-even-better-errors@2.3.1: {} json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} - json5@2.2.3: {} - jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -5294,45 +3606,17 @@ snapshots: kind-of@6.0.3: {} - kleur@3.0.3: {} - launch-editor@2.9.1: dependencies: picocolors: 1.1.0 shell-quote: 1.8.1 - leven@3.1.0: {} - lines-and-columns@1.2.4: {} loader-runner@4.3.0: {} - locate-path@5.0.0: - dependencies: - p-locate: 4.1.0 - - lodash.clonedeep@4.5.0: {} - - lodash.iserror@3.1.1: {} - - lodash.memoize@4.1.2: {} - - lru-cache@5.1.1: - dependencies: - yallist: 3.1.1 - lru-cache@7.18.3: {} - make-dir@4.0.0: - dependencies: - semver: 7.6.3 - - make-error@1.3.6: {} - - makeerror@1.0.12: - dependencies: - tmpl: 1.0.5 - math-intrinsics@1.1.0: {} media-typer@0.3.0: {} @@ -5367,14 +3651,8 @@ snapshots: mime@2.6.0: {} - mimic-fn@2.1.0: {} - minimalistic-assert@1.0.1: {} - minimatch@3.1.2: - dependencies: - brace-expansion: 1.1.11 - mitt@3.0.1: {} ms@2.0.0: {} @@ -5394,8 +3672,6 @@ snapshots: nanoid@3.3.7: {} - natural-compare@1.4.0: {} - negotiator@0.6.3: {} negotiator@0.6.4: {} @@ -5406,16 +3682,10 @@ snapshots: node-forge@1.3.1: {} - node-int64@0.4.0: {} - node-releases@2.0.18: {} normalize-path@3.0.0: {} - npm-run-path@4.0.1: - dependencies: - path-key: 3.1.1 - object-inspect@1.13.2: {} object-inspect@1.13.4: {} @@ -5436,10 +3706,6 @@ snapshots: dependencies: wrappy: 1.0.2 - onetime@5.1.2: - dependencies: - mimic-fn: 2.1.0 - open@10.1.0: dependencies: default-browser: 5.2.1 @@ -5447,26 +3713,12 @@ snapshots: is-inside-container: 1.0.0 is-wsl: 3.1.0 - p-limit@2.3.0: - dependencies: - p-try: 2.2.0 - - p-limit@3.1.0: - dependencies: - yocto-queue: 0.1.0 - - p-locate@4.1.0: - dependencies: - p-limit: 2.3.0 - p-retry@6.2.0: dependencies: '@types/retry': 0.12.2 is-network-error: 1.1.0 retry: 0.13.1 - p-try@2.2.0: {} - pac-proxy-agent@7.2.0: dependencies: '@tootallnate/quickjs-emscripten': 0.23.0 @@ -5498,14 +3750,8 @@ snapshots: parseurl@1.3.3: {} - path-exists@4.0.0: {} - - path-is-absolute@1.0.1: {} - path-key@3.1.1: {} - path-parse@1.0.7: {} - path-to-regexp@0.1.12: {} pend@1.2.0: {} @@ -5514,12 +3760,6 @@ snapshots: picomatch@2.3.1: {} - pirates@4.0.6: {} - - pkg-dir@4.2.0: - dependencies: - find-up: 4.1.0 - postcss-modules-extract-imports@3.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -5556,21 +3796,10 @@ snapshots: prettier@3.2.5: {} - pretty-format@29.7.0: - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.3.1 - process-nextick-args@2.0.1: {} progress@2.0.3: {} - prompts@2.4.2: - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - proxy-addr@2.0.7: dependencies: forwarded: 0.2.0 @@ -5630,8 +3859,6 @@ snapshots: - typescript - utf-8-validate - pure-rand@6.1.0: {} - qs@6.13.0: dependencies: side-channel: 1.0.6 @@ -5657,8 +3884,6 @@ snapshots: iconv-lite: 0.4.24 unpipe: 1.0.0 - react-is@18.3.1: {} - react-refresh@0.14.0: {} readable-stream@2.3.8: @@ -5687,22 +3912,8 @@ snapshots: requires-port@1.0.0: {} - resolve-cwd@3.0.0: - dependencies: - resolve-from: 5.0.0 - resolve-from@4.0.0: {} - resolve-from@5.0.0: {} - - resolve.exports@2.0.2: {} - - resolve@1.22.8: - dependencies: - is-core-module: 2.15.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - retry@0.13.1: {} run-applescript@7.0.0: {} @@ -5733,8 +3944,6 @@ snapshots: '@types/node-forge': 1.3.11 node-forge: 1.3.1 - semver@6.3.1: {} - semver@7.6.3: {} semver@7.7.3: {} @@ -5842,16 +4051,8 @@ snapshots: side-channel-map: 1.0.1 side-channel-weakmap: 1.0.2 - signal-exit@3.0.7: {} - simple-git-hooks@2.11.1: {} - sisteransi@1.0.5: {} - - slash@2.0.0: {} - - slash@3.0.0: {} - smart-buffer@4.2.0: {} sockjs-client@1.6.1: @@ -5885,11 +4086,6 @@ snapshots: source-map-js@1.2.1: {} - source-map-support@0.5.13: - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - source-map-support@0.5.21: dependencies: buffer-from: 1.1.2 @@ -5918,14 +4114,8 @@ snapshots: transitivePeerDependencies: - supports-color - sprintf-js@1.0.3: {} - sprintf-js@1.1.3: {} - stack-utils@2.0.6: - dependencies: - escape-string-regexp: 2.0.0 - stackframe@1.3.4: {} statuses@1.5.0: {} @@ -5951,11 +4141,6 @@ snapshots: - bare-abort-controller optional: true - string-length@4.0.2: - dependencies: - char-regex: 1.0.2 - strip-ansi: 6.0.1 - string-width@4.2.3: dependencies: emoji-regex: 8.0.0 @@ -5974,12 +4159,6 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-bom@4.0.0: {} - - strip-final-newline@2.0.0: {} - - strip-json-comments@3.1.1: {} - style-loader@4.0.0(webpack@5.94.0): dependencies: webpack: 5.94.0 @@ -6010,16 +4189,10 @@ snapshots: dependencies: has-flag: 3.0.0 - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 - supports-color@8.1.1: dependencies: has-flag: 4.0.0 - supports-preserve-symlinks-flag@1.0.0: {} - tapable@2.2.1: {} tar-fs@3.1.1: @@ -6062,12 +4235,6 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 - test-exclude@6.0.0: - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.3 - minimatch: 3.1.2 - text-decoder@1.2.0: dependencies: b4a: 1.6.6 @@ -6078,9 +4245,7 @@ snapshots: thunky@1.1.0: {} - tmpl@1.0.5: {} - - to-fast-properties@2.0.0: {} + tinypool@1.1.1: {} to-regex-range@5.0.1: dependencies: @@ -6092,31 +4257,10 @@ snapshots: dependencies: tslib: 2.7.0 - ts-jest@29.1.2(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@24.10.7))(typescript@5.0.2): - dependencies: - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@24.10.7) - jest-util: 29.7.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.6.3 - typescript: 5.0.2 - yargs-parser: 21.1.1 - optionalDependencies: - '@babel/core': 7.25.2 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.2) - tslib@2.7.0: {} tslib@2.8.1: {} - type-detect@4.0.8: {} - - type-fest@0.21.3: {} - type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -6153,20 +4297,10 @@ snapshots: uuid@8.3.2: {} - v8-to-istanbul@9.3.0: - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - '@types/istanbul-lib-coverage': 2.0.6 - convert-source-map: 2.0.0 - vary@1.1.2: {} wait-for-expect@3.0.2: {} - walker@1.0.8: - dependencies: - makeerror: 1.0.12 - watchpack@2.4.2: dependencies: glob-to-regexp: 0.4.1 @@ -6249,19 +4383,12 @@ snapshots: wrappy@1.0.2: {} - write-file-atomic@4.0.2: - dependencies: - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - ws@8.18.0: {} ws@8.18.3: {} y18n@5.0.8: {} - yallist@3.1.1: {} - yargs-parser@21.1.1: {} yargs@17.7.2: @@ -6279,6 +4406,4 @@ snapshots: buffer-crc32: 0.2.13 fd-slicer: 1.1.0 - yocto-queue@0.1.0: {} - zod@3.25.76: {} diff --git a/rstest.config.ts b/rstest.config.ts new file mode 100644 index 0000000..549ad20 --- /dev/null +++ b/rstest.config.ts @@ -0,0 +1,38 @@ +import path from 'node:path'; +import { defineConfig } from '@rstest/core'; +import { version as rspackVersion } from '@rspack/core'; + +const [webpackVersion] = rspackVersion; +const snapshotExtension = `.snap.webpack${webpackVersion}`; + +export default defineConfig({ + globals: true, + include: ['tests/*.test.ts', 'tests/e2e/*.test.js'], + exclude: [ + '**/node_modules/**', + '**/dist/**', + // TODO: check why this test timeout + '/tests/e2e/host.test.js', + // TODO: check why this test throw error when run with other tests + '/tests/e2e/watch-files.test.js', + // TODO: check why this test timeout + '/tests/e2e/web-socket-server-url.test.js', + ], + pool: { + maxWorkers: '80%', + }, + env: { + FORCE_COLOR: 'true', + }, + testTimeout: process.env.CI ? 120000 : 30000, + hookTimeout: 30000, + setupFiles: ['./tests/helpers/setup-test.js'], + globalSetup: ['./tests/helpers/global-setup-test.js'], + reporters: ['default'], + resolveSnapshotPath: (testPath) => + path.join( + path.dirname(testPath), + '__snapshots__', + `${path.basename(testPath)}${snapshotExtension}`, + ), +}); diff --git a/scripts/patch-node-env.cjs b/scripts/patch-node-env.cjs deleted file mode 100644 index d32fcf7..0000000 --- a/scripts/patch-node-env.cjs +++ /dev/null @@ -1,18 +0,0 @@ -// Copied from -// -const NodeEnvironment = - // For jest@29 - require('jest-environment-node').TestEnvironment || - // For jest@27 - require('jest-environment-node'); - -class CustomEnvironment extends NodeEnvironment { - // Workaround for `Symbol('JEST_STATE_SYMBOL')` - async handleTestEvent(event, state) { - if (!this.global.JEST_STATE_SYMBOL) { - this.global.JEST_STATE_SYMBOL = state; - } - } -} - -module.exports = CustomEnvironment; diff --git a/tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5 b/tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5 index 0125568..dd13fd0 100644 --- a/tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5 @@ -1,48 +1,48 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`allowed hosts check host headers should allow hosts in allowedHosts: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should allow hosts in allowedHosts > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should allow hosts in allowedHosts: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should allow hosts in allowedHosts > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should allow hosts in allowedHosts: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should allow hosts in allowedHosts > response status 1`] = `200`; -exports[`allowed hosts check host headers should allow hosts that pass a wildcard in allowedHosts: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should allow hosts that pass a wildcard in allowedHosts > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should allow hosts that pass a wildcard in allowedHosts: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should allow hosts that pass a wildcard in allowedHosts > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should allow hosts that pass a wildcard in allowedHosts: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should allow hosts that pass a wildcard in allowedHosts > response status 1`] = `200`; -exports[`allowed hosts check host headers should always allow \`localhost\` if options.allowedHosts is auto: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` if options.allowedHosts is auto > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should always allow \`localhost\` if options.allowedHosts is auto: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` if options.allowedHosts is auto > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should always allow \`localhost\` if options.allowedHosts is auto: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` if options.allowedHosts is auto > response status 1`] = `200`; -exports[`allowed hosts check host headers should always allow \`localhost\` subdomain if options.allowedHosts is auto: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` subdomain if options.allowedHosts is auto > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should always allow \`localhost\` subdomain if options.allowedHosts is auto: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` subdomain if options.allowedHosts is auto > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should always allow \`localhost\` subdomain if options.allowedHosts is auto: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should always allow \`localhost\` subdomain if options.allowedHosts is auto > response status 1`] = `200`; -exports[`allowed hosts check host headers should always allow any host if options.allowedHosts is all: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow any host if options.allowedHosts is all > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should always allow any host if options.allowedHosts is all: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow any host if options.allowedHosts is all > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should always allow any host if options.allowedHosts is all: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should always allow any host if options.allowedHosts is all > response status 1`] = `200`; -exports[`allowed hosts check host headers should always allow value from the \`host\` options if options.allowedHosts is auto: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow value from the \`host\` options if options.allowedHosts is auto > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should always allow value from the \`host\` options if options.allowedHosts is auto: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow value from the \`host\` options if options.allowedHosts is auto > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should always allow value from the \`host\` options if options.allowedHosts is auto: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should always allow value from the \`host\` options if options.allowedHosts is auto > response status 1`] = `200`; -exports[`allowed hosts check host headers should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto: console messages 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto > console messages 1`] = `[]`; -exports[`allowed hosts check host headers should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto: page errors 1`] = `[]`; +exports[`allowed hosts > check host headers > should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto > page errors 1`] = `[]`; -exports[`allowed hosts check host headers should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto: response status 1`] = `200`; +exports[`allowed hosts > check host headers > should always allow value of the \`host\` option from the \`client.webSocketURL\` option if options.allowedHosts is auto > response status 1`] = `200`; -exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -50,9 +50,9 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web ] `; -exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -60,9 +60,9 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web ] `; -exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -70,9 +70,9 @@ exports[`allowed hosts should connect web socket client using "0.0.0.0" host to ] `; -exports[`allowed hosts should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -80,9 +80,9 @@ exports[`allowed hosts should connect web socket client using "0.0.0.0" host to ] `; -exports[`allowed hosts should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "0.0.0.0" host to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server by default ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server by default ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -90,9 +90,9 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t ] `; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server by default ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server by default ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server by default ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server by default ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -100,9 +100,9 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t ] `; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server by default ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server by default ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -110,9 +110,9 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t ] `; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -120,9 +120,9 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t ] `; -exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -130,9 +130,9 @@ exports[`allowed hosts should connect web socket client using "chrome-extension: ] `; -exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -140,9 +140,9 @@ exports[`allowed hosts should connect web socket client using "chrome-extension: ] `; -exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -150,9 +150,9 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t ] `; -exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -160,9 +160,9 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t ] `; -exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "localhost" host to web socket server by default ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "localhost" host to web socket server by default ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -170,9 +170,9 @@ exports[`allowed hosts should connect web socket client using "localhost" host t ] `; -exports[`allowed hosts should connect web socket client using "localhost" host to web socket server by default ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "localhost" host to web socket server by default ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using "localhost" host to web socket server by default ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using "localhost" host to web socket server by default ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -180,9 +180,9 @@ exports[`allowed hosts should connect web socket client using "localhost" host t ] `; -exports[`allowed hosts should connect web socket client using "localhost" host to web socket server by default ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using "localhost" host to web socket server by default ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -190,9 +190,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -200,9 +200,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -210,9 +210,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -220,9 +220,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -230,9 +230,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -240,9 +240,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -250,9 +250,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -260,9 +260,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -270,9 +270,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -280,9 +280,9 @@ exports[`allowed hosts should connect web socket client using custom hostname to ] `; -exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -290,9 +290,9 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam ] `; -exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -300,9 +300,9 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam ] `; -exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using localhost to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -310,9 +310,9 @@ exports[`allowed hosts should connect web socket client using localhost to web s ] `; -exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using localhost to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using localhost to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -320,9 +320,9 @@ exports[`allowed hosts should connect web socket client using localhost to web s ] `; -exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using localhost to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using origin header containing an IP address with the custom hostname value ("sockjs"): (work) console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using origin header containing an IP address with the custom hostname value ("sockjs") > (work) console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -330,9 +330,9 @@ exports[`allowed hosts should connect web socket client using origin header cont ] `; -exports[`allowed hosts should connect web socket client using origin header containing an IP address with the custom hostname value ("sockjs"): (work) page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using origin header containing an IP address with the custom hostname value ("sockjs") > (work) page errors 1`] = `[]`; -exports[`allowed hosts should connect web socket client using origin header containing an IP address with the custom hostname value ("ws"): (work) console messages 1`] = ` +exports[`allowed hosts > should connect web socket client using origin header containing an IP address with the custom hostname value ("ws") > (work) console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -340,29 +340,29 @@ exports[`allowed hosts should connect web socket client using origin header cont ] `; -exports[`allowed hosts should connect web socket client using origin header containing an IP address with the custom hostname value ("ws"): (work) page errors 1`] = `[]`; +exports[`allowed hosts > should connect web socket client using origin header containing an IP address with the custom hostname value ("ws") > (work) page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("sockjs") > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 403 (Forbidden)", ] `; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): html 1`] = `"
Invalid Host header
"`; +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("sockjs") > html 1`] = `"
Invalid Host header
"`; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 403 (Forbidden)", ] `; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): html 1`] = `"
Invalid Host header
"`; +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") > html 1`] = `"
Invalid Host header
"`; -exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web client using origin header containing an IP address with the "auto" value ("sockjs"): (work) console messages 1`] = ` +exports[`allowed hosts > should disconnect web client using origin header containing an IP address with the "auto" value ("sockjs") > (work) console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -373,9 +373,9 @@ exports[`allowed hosts should disconnect web client using origin header containi ] `; -exports[`allowed hosts should disconnect web client using origin header containing an IP address with the "auto" value ("sockjs"): (work) page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web client using origin header containing an IP address with the "auto" value ("sockjs") > (work) page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web client using origin header containing an IP address with the "auto" value ("ws"): (work) console messages 1`] = ` +exports[`allowed hosts > should disconnect web client using origin header containing an IP address with the "auto" value ("ws") > (work) console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -386,9 +386,9 @@ exports[`allowed hosts should disconnect web client using origin header containi ] `; -exports[`allowed hosts should disconnect web client using origin header containing an IP address with the "auto" value ("ws"): (work) page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web client using origin header containing an IP address with the "auto" value ("ws") > (work) page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -399,9 +399,9 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -412,9 +412,9 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -425,9 +425,9 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -438,9 +438,9 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -451,9 +451,9 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs") > page errors 1`] = `[]`; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws"): console messages 1`] = ` +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -464,4 +464,4 @@ exports[`allowed hosts should disconnect web socket client using custom hostname ] `; -exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws"): page errors 1`] = `[]`; +exports[`allowed hosts > should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws") > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/api.test.js.snap.webpack5 b/tests/e2e/__snapshots__/api.test.js.snap.webpack5 index 4e25295..36b1a14 100644 --- a/tests/e2e/__snapshots__/api.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/api.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`API Invalidate callback should use the default \`noop\` callback when invalidate is called without any callback: console messages 1`] = ` +exports[`API > Invalidate callback > should use the default \`noop\` callback when invalidate is called without any callback > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,11 +8,11 @@ exports[`API Invalidate callback should use the default \`noop\` callback when i ] `; -exports[`API Invalidate callback should use the default \`noop\` callback when invalidate is called without any callback: page errors 1`] = `[]`; +exports[`API > Invalidate callback > should use the default \`noop\` callback when invalidate is called without any callback > page errors 1`] = `[]`; -exports[`API Invalidate callback should use the default \`noop\` callback when invalidate is called without any callback: response status 1`] = `200`; +exports[`API > Invalidate callback > should use the default \`noop\` callback when invalidate is called without any callback > response status 1`] = `200`; -exports[`API Invalidate callback should use the provided \`callback\` function: console messages 1`] = ` +exports[`API > Invalidate callback > should use the provided \`callback\` function > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -20,17 +20,17 @@ exports[`API Invalidate callback should use the provided \`callback\` function: ] `; -exports[`API Invalidate callback should use the provided \`callback\` function: page errors 1`] = `[]`; +exports[`API > Invalidate callback > should use the provided \`callback\` function > page errors 1`] = `[]`; -exports[`API Invalidate callback should use the provided \`callback\` function: response status 1`] = `200`; +exports[`API > Invalidate callback > should use the provided \`callback\` function > response status 1`] = `200`; -exports[`API Server.checkHostHeader should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object: page errors 1`] = `[]`; +exports[`API > Server.checkHostHeader > should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object > page errors 1`] = `[]`; -exports[`API Server.checkHostHeader should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object: response status 1`] = `200`; +exports[`API > Server.checkHostHeader > should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object > response status 1`] = `200`; -exports[`API Server.checkHostHeader should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object: web socket URL 1`] = `"ws://test.host:8158/ws"`; +exports[`API > Server.checkHostHeader > should allow URLs with scheme for checking origin when the "option.client.webSocketURL" is object > web socket URL 1`] = `"ws://test.host:8158/ws"`; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (number): console messages 1`] = ` +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (number) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -38,11 +38,11 @@ exports[`API Server.getFreePort should retry finding the port for up to defaultP ] `; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (number): page errors 1`] = `[]`; +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (number) > page errors 1`] = `[]`; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (number): response status 1`] = `200`; +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (number) > response status 1`] = `200`; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (string): console messages 1`] = ` +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (string) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -50,11 +50,11 @@ exports[`API Server.getFreePort should retry finding the port for up to defaultP ] `; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (string): page errors 1`] = `[]`; +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (string) > page errors 1`] = `[]`; -exports[`API Server.getFreePort should retry finding the port for up to defaultPortRetry times (string): response status 1`] = `200`; +exports[`API > Server.getFreePort > should retry finding the port for up to defaultPortRetry times (string) > response status 1`] = `200`; -exports[`API Server.getFreePort should retry finding the port when serial ports are busy: console messages 1`] = ` +exports[`API > Server.getFreePort > should retry finding the port when serial ports are busy > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -62,11 +62,11 @@ exports[`API Server.getFreePort should retry finding the port when serial ports ] `; -exports[`API Server.getFreePort should retry finding the port when serial ports are busy: page errors 1`] = `[]`; +exports[`API > Server.getFreePort > should retry finding the port when serial ports are busy > page errors 1`] = `[]`; -exports[`API Server.getFreePort should retry finding the port when serial ports are busy: response status 1`] = `200`; +exports[`API > Server.getFreePort > should retry finding the port when serial ports are busy > response status 1`] = `200`; -exports[`API Server.getFreePort should return the port when the port is \`null\`: console messages 1`] = ` +exports[`API > Server.getFreePort > should return the port when the port is \`null\` > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -74,11 +74,11 @@ exports[`API Server.getFreePort should return the port when the port is \`null\` ] `; -exports[`API Server.getFreePort should return the port when the port is \`null\`: page errors 1`] = `[]`; +exports[`API > Server.getFreePort > should return the port when the port is \`null\` > page errors 1`] = `[]`; -exports[`API Server.getFreePort should return the port when the port is \`null\`: response status 1`] = `200`; +exports[`API > Server.getFreePort > should return the port when the port is \`null\` > response status 1`] = `200`; -exports[`API Server.getFreePort should return the port when the port is undefined: console messages 1`] = ` +exports[`API > Server.getFreePort > should return the port when the port is undefined > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -86,13 +86,13 @@ exports[`API Server.getFreePort should return the port when the port is undefine ] `; -exports[`API Server.getFreePort should return the port when the port is undefined: page errors 1`] = `[]`; +exports[`API > Server.getFreePort > should return the port when the port is undefined > page errors 1`] = `[]`; -exports[`API Server.getFreePort should return the port when the port is undefined: response status 1`] = `200`; +exports[`API > Server.getFreePort > should return the port when the port is undefined > response status 1`] = `200`; -exports[`API Server.getFreePort should throw the error when the port isn't found 1`] = `"busy"`; +exports[`API > Server.getFreePort > should throw the error when the port isn't found 1`] = `[Error: busy]`; -exports[`API WEBPACK_SERVE environment variable should be present: console messages 1`] = ` +exports[`API > WEBPACK_SERVE environment variable > should be present > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -100,11 +100,11 @@ exports[`API WEBPACK_SERVE environment variable should be present: console messa ] `; -exports[`API WEBPACK_SERVE environment variable should be present: page errors 1`] = `[]`; +exports[`API > WEBPACK_SERVE environment variable > should be present > page errors 1`] = `[]`; -exports[`API WEBPACK_SERVE environment variable should be present: response status 1`] = `200`; +exports[`API > WEBPACK_SERVE environment variable > should be present > response status 1`] = `200`; -exports[`API latest async API should work and allow to rerun dev server multiple times: console messages 1`] = ` +exports[`API > latest async API > should work and allow to rerun dev server multiple times > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -112,9 +112,9 @@ exports[`API latest async API should work and allow to rerun dev server multiple ] `; -exports[`API latest async API should work and allow to rerun dev server multiple times: page errors 1`] = `[]`; +exports[`API > latest async API > should work and allow to rerun dev server multiple times > page errors 1`] = `[]`; -exports[`API latest async API should work when using configured manually: console messages 1`] = ` +exports[`API > latest async API > should work when using configured manually > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay disabled.", @@ -122,9 +122,9 @@ exports[`API latest async API should work when using configured manually: consol ] `; -exports[`API latest async API should work when using configured manually: page errors 1`] = `[]`; +exports[`API > latest async API > should work when using configured manually > page errors 1`] = `[]`; -exports[`API latest async API should work with async API: console messages 1`] = ` +exports[`API > latest async API > should work with async API > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -132,9 +132,9 @@ exports[`API latest async API should work with async API: console messages 1`] = ] `; -exports[`API latest async API should work with async API: page errors 1`] = `[]`; +exports[`API > latest async API > should work with async API > page errors 1`] = `[]`; -exports[`API latest async API should work with callback API: console messages 1`] = ` +exports[`API > latest async API > should work with callback API > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -142,4 +142,4 @@ exports[`API latest async API should work with callback API: console messages 1` ] `; -exports[`API latest async API should work with callback API: page errors 1`] = `[]`; +exports[`API > latest async API > should work with callback API > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/app.test.js.snap.webpack5 b/tests/e2e/__snapshots__/app.test.js.snap.webpack5 index 182d9ce..f391fa0 100644 --- a/tests/e2e/__snapshots__/app.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/app.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "connect (async)" application and "http" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,11 +8,11 @@ exports[`app option should work using "connect (async)" application and "http" s ] `; -exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "connect (async)" application and "http" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "connect (async)" application and "http" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "connect (async)" application and "http" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -28,7 +28,7 @@ exports[`app option should work using "connect (async)" application and "http" s " `; -exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "connect" application and "http" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -36,11 +36,11 @@ exports[`app option should work using "connect" application and "http" server sh ] `; -exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "connect" application and "http" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "connect" application and "http" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "connect" application and "http" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -56,7 +56,7 @@ exports[`app option should work using "connect" application and "http" server sh " `; -exports[`app option should work using "connect" application and "http2" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "connect" application and "http2" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -64,11 +64,11 @@ exports[`app option should work using "connect" application and "http2" server s ] `; -exports[`app option should work using "connect" application and "http2" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "connect" application and "http2" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "connect" application and "http2" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "connect" application and "http2" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "connect" application and "http2" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "connect" application and "http2" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -84,7 +84,7 @@ exports[`app option should work using "connect" application and "http2" server s " `; -exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "connect" application and "https" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -92,11 +92,11 @@ exports[`app option should work using "connect" application and "https" server s ] `; -exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "connect" application and "https" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "connect" application and "https" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "connect" application and "https" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -112,7 +112,7 @@ exports[`app option should work using "connect" application and "https" server s " `; -exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "connect" application and "spdy" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -120,11 +120,11 @@ exports[`app option should work using "connect" application and "spdy" server sh ] `; -exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "connect" application and "spdy" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "connect" application and "spdy" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "connect" application and "spdy" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -140,7 +140,7 @@ exports[`app option should work using "connect" application and "spdy" server sh " `; -exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "express" application and "http" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -148,11 +148,11 @@ exports[`app option should work using "express" application and "http" server sh ] `; -exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "express" application and "http" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "express" application and "http" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "express" application and "http" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -168,7 +168,7 @@ exports[`app option should work using "express" application and "http" server sh " `; -exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "express" application and "https" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -176,11 +176,11 @@ exports[`app option should work using "express" application and "https" server s ] `; -exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "express" application and "https" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "express" application and "https" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "express" application and "https" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -196,7 +196,7 @@ exports[`app option should work using "express" application and "https" server s " `; -exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "express" application and "spdy" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -204,11 +204,11 @@ exports[`app option should work using "express" application and "spdy" server sh ] `; -exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "express" application and "spdy" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "express" application and "spdy" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "express" application and "spdy" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -224,7 +224,7 @@ exports[`app option should work using "express" application and "spdy" server sh " `; -exports[`app option should work using "hono" application and "[object Object]" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "hono" application and "[object Object]" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -232,11 +232,11 @@ exports[`app option should work using "hono" application and "[object Object]" s ] `; -exports[`app option should work using "hono" application and "[object Object]" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "hono" application and "[object Object]" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "hono" application and "[object Object]" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "hono" application and "[object Object]" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "hono" application and "[object Object]" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "hono" application and "[object Object]" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -252,7 +252,7 @@ exports[`app option should work using "hono" application and "[object Object]" s " `; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): console messages 1`] = ` +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -260,7 +260,7 @@ exports[`app option should work using "hono" application and "custom server" ser ] `; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): console messages 2`] = ` +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -268,15 +268,15 @@ exports[`app option should work using "hono" application and "custom server" ser ] `; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): page errors 2`] = `[]`; +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > page errors 2`] = `[]`; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): response status 1`] = `200`; +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): response status 2`] = `200`; +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > response status 2`] = `200`; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): response text 1`] = ` +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > response text 1`] = ` " @@ -292,7 +292,7 @@ exports[`app option should work using "hono" application and "custom server" ser " `; -exports[`app option should work using "hono" application and "custom server" server should handle GET request to index route (/): response text 2`] = ` +exports[`app option > should work using "hono" application and "custom server" server > should handle GET request to index route (/) > response text 2`] = ` " diff --git a/tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5 b/tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5 index 1fac843..400f443 100644 --- a/tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`bonjour option as object should apply bonjour options: console messages 1`] = ` +exports[`bonjour option > as object > should apply bonjour options > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,11 +8,11 @@ exports[`bonjour option as object should apply bonjour options: console messages ] `; -exports[`bonjour option as object should apply bonjour options: page errors 1`] = `[]`; +exports[`bonjour option > as object > should apply bonjour options > page errors 1`] = `[]`; -exports[`bonjour option as object should apply bonjour options: response status 1`] = `200`; +exports[`bonjour option > as object > should apply bonjour options > response status 1`] = `200`; -exports[`bonjour option as true should call bonjour with correct params: console messages 1`] = ` +exports[`bonjour option > as true > should call bonjour with correct params > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -20,11 +20,11 @@ exports[`bonjour option as true should call bonjour with correct params: console ] `; -exports[`bonjour option as true should call bonjour with correct params: page errors 1`] = `[]`; +exports[`bonjour option > as true > should call bonjour with correct params > page errors 1`] = `[]`; -exports[`bonjour option as true should call bonjour with correct params: response status 1`] = `200`; +exports[`bonjour option > as true > should call bonjour with correct params > response status 1`] = `200`; -exports[`bonjour option bonjour object and 'server' option should apply bonjour options: console messages 1`] = ` +exports[`bonjour option > bonjour object and 'server' option > should apply bonjour options > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -32,11 +32,11 @@ exports[`bonjour option bonjour object and 'server' option should apply bonjour ] `; -exports[`bonjour option bonjour object and 'server' option should apply bonjour options: page errors 1`] = `[]`; +exports[`bonjour option > bonjour object and 'server' option > should apply bonjour options > page errors 1`] = `[]`; -exports[`bonjour option bonjour object and 'server' option should apply bonjour options: response status 1`] = `200`; +exports[`bonjour option > bonjour object and 'server' option > should apply bonjour options > response status 1`] = `200`; -exports[`bonjour option with 'server' option should call bonjour with 'https' type: console messages 1`] = ` +exports[`bonjour option > with 'server' option > should call bonjour with 'https' type > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -44,6 +44,6 @@ exports[`bonjour option with 'server' option should call bonjour with 'https' ty ] `; -exports[`bonjour option with 'server' option should call bonjour with 'https' type: page errors 1`] = `[]`; +exports[`bonjour option > with 'server' option > should call bonjour with 'https' type > page errors 1`] = `[]`; -exports[`bonjour option with 'server' option should call bonjour with 'https' type: response status 1`] = `200`; +exports[`bonjour option > with 'server' option > should call bonjour with 'https' type > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5 b/tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5 index 9fa4d94..be491b9 100644 --- a/tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5 @@ -1,8 +1,8 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: console messages 1`] = `[]`; +exports[`Built in routes > with multi config > should handle GET request to directory index and list all middleware directories > console messages 1`] = `[]`; -exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: directory list 1`] = ` +exports[`Built in routes > with multi config > should handle GET request to directory index and list all middleware directories > directory list 1`] = ` "

Assets Report:

Compilation: unnamed[0]

  • foo.js
  • @@ -14,15 +14,15 @@ exports[`Built in routes with multi config should handle GET request to director
" `; -exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`; +exports[`Built in routes > with multi config > should handle GET request to directory index and list all middleware directories > page errors 1`] = `[]`; -exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`Built in routes > with multi config > should handle GET request to directory index and list all middleware directories > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`; +exports[`Built in routes > with multi config > should handle GET request to directory index and list all middleware directories > response status 1`] = `200`; -exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handle GET request to directory index and list all middleware directories > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: directory list 1`] = ` +exports[`Built in routes > with simple config > should handle GET request to directory index and list all middleware directories > directory list 1`] = ` "

Assets Report:

Compilation: unnamed

  • main.js
  • @@ -32,52 +32,52 @@ exports[`Built in routes with simple config should handle GET request to directo
" `; -exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`; +exports[`Built in routes > with simple config > should handle GET request to directory index and list all middleware directories > page errors 1`] = `[]`; -exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`Built in routes > with simple config > should handle GET request to directory index and list all middleware directories > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handle GET request to directory index and list all middleware directories > response status 1`] = `200`; -exports[`Built in routes with simple config should handle GET request to invalidate endpoint: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handle GET request to invalidate endpoint > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handle GET request to invalidate endpoint: page errors 1`] = `[]`; +exports[`Built in routes > with simple config > should handle GET request to invalidate endpoint > page errors 1`] = `[]`; -exports[`Built in routes with simple config should handle GET request to invalidate endpoint: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handle GET request to invalidate endpoint > response status 1`] = `200`; -exports[`Built in routes with simple config should handle GET request to magic async chunk: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handle GET request to magic async chunk > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handle GET request to magic async chunk: response headers content-type 1`] = `"application/javascript; charset=utf-8"`; +exports[`Built in routes > with simple config > should handle GET request to magic async chunk > response headers content-type 1`] = `"application/javascript; charset=utf-8"`; -exports[`Built in routes with simple config should handle GET request to magic async chunk: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handle GET request to magic async chunk > response status 1`] = `200`; -exports[`Built in routes with simple config should handle HEAD request to directory index: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handle HEAD request to directory index > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handle HEAD request to directory index: directory list 1`] = `""`; +exports[`Built in routes > with simple config > should handle HEAD request to directory index > directory list 1`] = `""`; -exports[`Built in routes with simple config should handle HEAD request to directory index: page errors 1`] = `[]`; +exports[`Built in routes > with simple config > should handle HEAD request to directory index > page errors 1`] = `[]`; -exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`Built in routes > with simple config > should handle HEAD request to directory index > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`Built in routes with simple config should handle HEAD request to directory index: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handle HEAD request to directory index > response status 1`] = `200`; -exports[`Built in routes with simple config should handle HEAD request to magic async chunk: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handle HEAD request to magic async chunk > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handle HEAD request to magic async chunk: response headers content-type 1`] = `"application/javascript; charset=utf-8"`; +exports[`Built in routes > with simple config > should handle HEAD request to magic async chunk > response headers content-type 1`] = `"application/javascript; charset=utf-8"`; -exports[`Built in routes with simple config should handle HEAD request to magic async chunk: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handle HEAD request to magic async chunk > response status 1`] = `200`; -exports[`Built in routes with simple config should handles GET request to sockjs bundle: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handles GET request to sockjs bundle > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handles GET request to sockjs bundle: page errors 1`] = `[]`; +exports[`Built in routes > with simple config > should handles GET request to sockjs bundle > page errors 1`] = `[]`; -exports[`Built in routes with simple config should handles GET request to sockjs bundle: response headers content-type 1`] = `"application/javascript; charset=UTF-8"`; +exports[`Built in routes > with simple config > should handles GET request to sockjs bundle > response headers content-type 1`] = `"application/javascript; charset=UTF-8"`; -exports[`Built in routes with simple config should handles GET request to sockjs bundle: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handles GET request to sockjs bundle > response status 1`] = `200`; -exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: console messages 1`] = `[]`; +exports[`Built in routes > with simple config > should handles HEAD request to sockjs bundle > console messages 1`] = `[]`; -exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: page errors 1`] = `[]`; +exports[`Built in routes > with simple config > should handles HEAD request to sockjs bundle > page errors 1`] = `[]`; -exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response headers content-type 1`] = `"application/javascript; charset=UTF-8"`; +exports[`Built in routes > with simple config > should handles HEAD request to sockjs bundle > response headers content-type 1`] = `"application/javascript; charset=UTF-8"`; -exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response status 1`] = `200`; +exports[`Built in routes > with simple config > should handles HEAD request to sockjs bundle > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 b/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 index dee9093..ff85a22 100644 --- a/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`client.reconnect option specified as false should not try to reconnect: console messages 1`] = ` +exports[`client.reconnect option > specified as false > should not try to reconnect > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -9,11 +9,11 @@ exports[`client.reconnect option specified as false should not try to reconnect: ] `; -exports[`client.reconnect option specified as false should not try to reconnect: page errors 1`] = `[]`; +exports[`client.reconnect option > specified as false > should not try to reconnect > page errors 1`] = `[]`; -exports[`client.reconnect option specified as false should not try to reconnect: response status 1`] = `200`; +exports[`client.reconnect option > specified as false > should not try to reconnect > response status 1`] = `200`; -exports[`client.reconnect option specified as number should try to reconnect 2 times: console messages 1`] = ` +exports[`client.reconnect option > specified as number > should try to reconnect 2 times > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -28,10 +28,10 @@ exports[`client.reconnect option specified as number should try to reconnect 2 t ] `; -exports[`client.reconnect option specified as number should try to reconnect 2 times: page errors 1`] = `[]`; +exports[`client.reconnect option > specified as number > should try to reconnect 2 times > page errors 1`] = `[]`; -exports[`client.reconnect option specified as number should try to reconnect 2 times: response status 1`] = `200`; +exports[`client.reconnect option > specified as number > should try to reconnect 2 times > response status 1`] = `200`; -exports[`client.reconnect option specified as true should try to reconnect unlimited times: page errors 1`] = `[]`; +exports[`client.reconnect option > specified as true > should try to reconnect unlimited times > page errors 1`] = `[]`; -exports[`client.reconnect option specified as true should try to reconnect unlimited times: response status 1`] = `200`; +exports[`client.reconnect option > specified as true > should try to reconnect unlimited times > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/client.test.js.snap.webpack5 b/tests/e2e/__snapshots__/client.test.js.snap.webpack5 index 819b0ec..53b1a04 100644 --- a/tests/e2e/__snapshots__/client.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/client.test.js.snap.webpack5 @@ -1,27 +1,27 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`client option configure client entry should disable client entry: console messages 1`] = `[]`; +exports[`client option > configure client entry > should disable client entry > console messages 1`] = `[]`; -exports[`client option configure client entry should disable client entry: page errors 1`] = `[]`; +exports[`client option > configure client entry > should disable client entry > page errors 1`] = `[]`; -exports[`client option configure client entry should disable client entry: response status 1`] = `200`; +exports[`client option > configure client entry > should disable client entry > response status 1`] = `200`; -exports[`client option configure client entry should redirect client entry to rspack: console messages 1`] = `[]`; +exports[`client option > configure client entry > should redirect client entry to rspack > console messages 1`] = `[]`; -exports[`client option configure client entry should redirect client entry to rspack: page errors 1`] = `[]`; +exports[`client option > configure client entry > should redirect client entry to rspack > page errors 1`] = `[]`; -exports[`client option configure client entry should redirect client entry to rspack: response status 1`] = `200`; +exports[`client option > configure client entry > should redirect client entry to rspack > response status 1`] = `200`; -exports[`client option default behaviour responds with a 200 status code for /ws path: console messages 1`] = `[]`; +exports[`client option > default behaviour > responds with a 200 status code for /ws path > console messages 1`] = `[]`; -exports[`client option default behaviour responds with a 200 status code for /ws path: page errors 1`] = `[]`; +exports[`client option > default behaviour > responds with a 200 status code for /ws path > page errors 1`] = `[]`; -exports[`client option default behaviour responds with a 200 status code for /ws path: response status 1`] = `200`; +exports[`client option > default behaviour > responds with a 200 status code for /ws path > response status 1`] = `200`; -exports[`client option override client entry should disable client entry: response status 1`] = `200`; +exports[`client option > override client entry > should disable client entry > response status 1`] = `200`; -exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: console messages 1`] = `[]`; +exports[`client option > should respect path option > responds with a 200 status code for /foo/test/bar path > console messages 1`] = `[]`; -exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: page errors 1`] = `[]`; +exports[`client option > should respect path option > responds with a 200 status code for /foo/test/bar path > page errors 1`] = `[]`; -exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: response status 1`] = `200`; +exports[`client option > should respect path option > responds with a 200 status code for /foo/test/bar path > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 b/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 index 0166c8b..810a3d2 100644 --- a/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 @@ -1,25 +1,25 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`compress option as false should handle GET request to bundle file: console messages 1`] = `[]`; +exports[`compress option > as false > should handle GET request to bundle file > console messages 1`] = `[]`; -exports[`compress option as false should handle GET request to bundle file: page errors 1`] = `[]`; +exports[`compress option > as false > should handle GET request to bundle file > page errors 1`] = `[]`; -exports[`compress option as false should handle GET request to bundle file: response headers content-encoding 1`] = `undefined`; +exports[`compress option > as false > should handle GET request to bundle file > response headers content-encoding 1`] = `undefined`; -exports[`compress option as false should handle GET request to bundle file: response status 1`] = `200`; +exports[`compress option > as false > should handle GET request to bundle file > response status 1`] = `200`; -exports[`compress option as true should handle GET request to bundle file: console messages 1`] = `[]`; +exports[`compress option > as true > should handle GET request to bundle file > console messages 1`] = `[]`; -exports[`compress option as true should handle GET request to bundle file: page errors 1`] = `[]`; +exports[`compress option > as true > should handle GET request to bundle file > page errors 1`] = `[]`; -exports[`compress option as true should handle GET request to bundle file: response headers content-encoding 1`] = `"br"`; +exports[`compress option > as true > should handle GET request to bundle file > response headers content-encoding 1`] = `"br"`; -exports[`compress option as true should handle GET request to bundle file: response status 1`] = `200`; +exports[`compress option > as true > should handle GET request to bundle file > response status 1`] = `200`; -exports[`compress option enabled by default when not specified should handle GET request to bundle file: console messages 1`] = `[]`; +exports[`compress option > enabled by default when not specified > should handle GET request to bundle file > console messages 1`] = `[]`; -exports[`compress option enabled by default when not specified should handle GET request to bundle file: page errors 1`] = `[]`; +exports[`compress option > enabled by default when not specified > should handle GET request to bundle file > page errors 1`] = `[]`; -exports[`compress option enabled by default when not specified should handle GET request to bundle file: response headers content-encoding 1`] = `"br"`; +exports[`compress option > enabled by default when not specified > should handle GET request to bundle file > response headers content-encoding 1`] = `"br"`; -exports[`compress option enabled by default when not specified should handle GET request to bundle file: response status 1`] = `200`; +exports[`compress option > enabled by default when not specified > should handle GET request to bundle file > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 b/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 index 7f320cd..9bfa3e2 100644 --- a/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`entry should work with dynamic async entry: console messages 1`] = ` +exports[`entry > should work with dynamic async entry > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,9 +8,9 @@ exports[`entry should work with dynamic async entry: console messages 1`] = ` ] `; -exports[`entry should work with dynamic async entry: page errors 1`] = `[]`; +exports[`entry > should work with dynamic async entry > page errors 1`] = `[]`; -exports[`entry should work with dynamic entry: console messages 1`] = ` +exports[`entry > should work with dynamic entry > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -18,9 +18,9 @@ exports[`entry should work with dynamic entry: console messages 1`] = ` ] `; -exports[`entry should work with dynamic entry: page errors 1`] = `[]`; +exports[`entry > should work with dynamic entry > page errors 1`] = `[]`; -exports[`entry should work with empty: console messages 1`] = ` +exports[`entry > should work with empty > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -28,9 +28,9 @@ exports[`entry should work with empty: console messages 1`] = ` ] `; -exports[`entry should work with empty: page errors 1`] = `[]`; +exports[`entry > should work with empty > page errors 1`] = `[]`; -exports[`entry should work with multiple entries #2: console messages 1`] = ` +exports[`entry > should work with multiple entries #2 > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -38,30 +38,30 @@ exports[`entry should work with multiple entries #2: console messages 1`] = ` ] `; -exports[`entry should work with multiple entries #2: page errors 1`] = `[]`; +exports[`entry > should work with multiple entries #2 > page errors 1`] = `[]`; -exports[`entry should work with multiple entries and "dependOn": console messages 1`] = ` +exports[`entry > should work with multiple entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", - "Bar.", "Hey.", ] `; -exports[`entry should work with multiple entries and "dependOn": page errors 1`] = `[]`; +exports[`entry > should work with multiple entries > page errors 1`] = `[]`; -exports[`entry should work with multiple entries: console messages 1`] = ` +exports[`entry > should work with multiple entries and "dependOn" > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", + "Bar.", "Hey.", ] `; -exports[`entry should work with multiple entries: page errors 1`] = `[]`; +exports[`entry > should work with multiple entries and "dependOn" > page errors 1`] = `[]`; -exports[`entry should work with object entry: console messages 1`] = ` +exports[`entry > should work with object entry > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -69,9 +69,9 @@ exports[`entry should work with object entry: console messages 1`] = ` ] `; -exports[`entry should work with object entry: page errors 1`] = `[]`; +exports[`entry > should work with object entry > page errors 1`] = `[]`; -exports[`entry should work with single array entry: console messages 1`] = ` +exports[`entry > should work with single array entry > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -80,9 +80,9 @@ exports[`entry should work with single array entry: console messages 1`] = ` ] `; -exports[`entry should work with single array entry: page errors 1`] = `[]`; +exports[`entry > should work with single array entry > page errors 1`] = `[]`; -exports[`entry should work with single entry: console messages 1`] = ` +exports[`entry > should work with single entry > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -90,4 +90,4 @@ exports[`entry should work with single entry: console messages 1`] = ` ] `; -exports[`entry should work with single entry: page errors 1`] = `[]`; +exports[`entry > should work with single entry > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 b/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 index 376a38e..566b838 100644 --- a/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`headers option as a function returning an array should handle GET request with headers: console messages 1`] = ` +exports[`headers option > as a function > should handle GET request with headers as a function > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,15 +8,16 @@ exports[`headers option as a function returning an array should handle GET reque ] `; -exports[`headers option as a function returning an array should handle GET request with headers: page errors 1`] = `[]`; +exports[`headers option > as a function > should handle GET request with headers as a function > page errors 1`] = `[]`; -exports[`headers option as a function returning an array should handle GET request with headers: response headers x-bar 1`] = `"value2"`; - -exports[`headers option as a function returning an array should handle GET request with headers: response headers x-foo 1`] = `"value1"`; +exports[`headers option > as a function > should handle GET request with headers as a function > response headers x-bar 1`] = ` +"key1=value1 +key2=value2" +`; -exports[`headers option as a function returning an array should handle GET request with headers: response status 1`] = `200`; +exports[`headers option > as a function > should handle GET request with headers as a function > response status 1`] = `200`; -exports[`headers option as a function should handle GET request with headers as a function: console messages 1`] = ` +exports[`headers option > as a function returning an array > should handle GET request with headers > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -24,16 +25,15 @@ exports[`headers option as a function should handle GET request with headers as ] `; -exports[`headers option as a function should handle GET request with headers as a function: page errors 1`] = `[]`; +exports[`headers option > as a function returning an array > should handle GET request with headers > page errors 1`] = `[]`; -exports[`headers option as a function should handle GET request with headers as a function: response headers x-bar 1`] = ` -"key1=value1 -key2=value2" -`; +exports[`headers option > as a function returning an array > should handle GET request with headers > response headers x-bar 1`] = `"value2"`; + +exports[`headers option > as a function returning an array > should handle GET request with headers > response headers x-foo 1`] = `"value1"`; -exports[`headers option as a function should handle GET request with headers as a function: response status 1`] = `200`; +exports[`headers option > as a function returning an array > should handle GET request with headers > response status 1`] = `200`; -exports[`headers option as a string and support HEAD request should handle HEAD request with headers: console messages 1`] = ` +exports[`headers option > as a string > should handle GET request with headers > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -41,13 +41,13 @@ exports[`headers option as a string and support HEAD request should handle HEAD ] `; -exports[`headers option as a string and support HEAD request should handle HEAD request with headers: page errors 1`] = `[]`; +exports[`headers option > as a string > should handle GET request with headers > page errors 1`] = `[]`; -exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response headers x-foo 1`] = `"dev-server headers"`; +exports[`headers option > as a string > should handle GET request with headers > response headers x-foo 1`] = `"dev-server headers"`; -exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response status 1`] = `200`; +exports[`headers option > as a string > should handle GET request with headers > response status 1`] = `200`; -exports[`headers option as a string should handle GET request with headers: console messages 1`] = ` +exports[`headers option > as a string and support HEAD request > should handle HEAD request with headers > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -55,13 +55,13 @@ exports[`headers option as a string should handle GET request with headers: cons ] `; -exports[`headers option as a string should handle GET request with headers: page errors 1`] = `[]`; +exports[`headers option > as a string and support HEAD request > should handle HEAD request with headers > page errors 1`] = `[]`; -exports[`headers option as a string should handle GET request with headers: response headers x-foo 1`] = `"dev-server headers"`; +exports[`headers option > as a string and support HEAD request > should handle HEAD request with headers > response headers x-foo 1`] = `"dev-server headers"`; -exports[`headers option as a string should handle GET request with headers: response status 1`] = `200`; +exports[`headers option > as a string and support HEAD request > should handle HEAD request with headers > response status 1`] = `200`; -exports[`headers option as an array of objects should handle GET request with headers: console messages 1`] = ` +exports[`headers option > as an array > should handle GET request with headers as an array > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -69,15 +69,16 @@ exports[`headers option as an array of objects should handle GET request with he ] `; -exports[`headers option as an array of objects should handle GET request with headers: page errors 1`] = `[]`; +exports[`headers option > as an array > should handle GET request with headers as an array > page errors 1`] = `[]`; -exports[`headers option as an array of objects should handle GET request with headers: response headers x-bar 1`] = `"value2"`; - -exports[`headers option as an array of objects should handle GET request with headers: response headers x-foo 1`] = `"value1"`; +exports[`headers option > as an array > should handle GET request with headers as an array > response headers x-bar 1`] = ` +"key1=value1 +key2=value2" +`; -exports[`headers option as an array of objects should handle GET request with headers: response status 1`] = `200`; +exports[`headers option > as an array > should handle GET request with headers as an array > response status 1`] = `200`; -exports[`headers option as an array should handle GET request with headers as an array: console messages 1`] = ` +exports[`headers option > as an array of objects > should handle GET request with headers > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -85,16 +86,15 @@ exports[`headers option as an array should handle GET request with headers as an ] `; -exports[`headers option as an array should handle GET request with headers as an array: page errors 1`] = `[]`; +exports[`headers option > as an array of objects > should handle GET request with headers > page errors 1`] = `[]`; -exports[`headers option as an array should handle GET request with headers as an array: response headers x-bar 1`] = ` -"key1=value1 -key2=value2" -`; +exports[`headers option > as an array of objects > should handle GET request with headers > response headers x-bar 1`] = `"value2"`; + +exports[`headers option > as an array of objects > should handle GET request with headers > response headers x-foo 1`] = `"value1"`; -exports[`headers option as an array should handle GET request with headers as an array: response status 1`] = `200`; +exports[`headers option > as an array of objects > should handle GET request with headers > response status 1`] = `200`; -exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: console messages 1`] = ` +exports[`headers option > dev middleware headers take precedence for dev middleware output files > should handle GET request with headers as a function > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -102,8 +102,8 @@ exports[`headers option dev middleware headers take precedence for dev middlewar ] `; -exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: page errors 1`] = `[]`; +exports[`headers option > dev middleware headers take precedence for dev middleware output files > should handle GET request with headers as a function > page errors 1`] = `[]`; -exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response headers x-foo 1`] = `"dev-middleware-headers"`; +exports[`headers option > dev middleware headers take precedence for dev middleware output files > should handle GET request with headers as a function > response headers x-foo 1`] = `"dev-middleware-headers"`; -exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response status 1`] = `200`; +exports[`headers option > dev middleware headers take precedence for dev middleware output files > should handle GET request with headers as a function > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 b/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 index 105d89d..e0001e9 100644 --- a/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 @@ -1,153 +1,153 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`historyApiFallback option as boolean should handle GET request to directory: console messages 1`] = `[]`; +exports[`historyApiFallback option > as boolean > should handle GET request to directory > console messages 1`] = `[]`; -exports[`historyApiFallback option as boolean should handle GET request to directory: page errors 1`] = `[]`; +exports[`historyApiFallback option > as boolean > should handle GET request to directory > page errors 1`] = `[]`; -exports[`historyApiFallback option as boolean should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > as boolean > should handle GET request to directory > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option as boolean should handle GET request to directory: response status 1`] = `200`; +exports[`historyApiFallback option > as boolean > should handle GET request to directory > response status 1`] = `200`; -exports[`historyApiFallback option as boolean should handle GET request to directory: response text 1`] = ` +exports[`historyApiFallback option > as boolean > should handle GET request to directory > response text 1`] = ` "Heyyy " `; -exports[`historyApiFallback option as object should handle GET request to directory: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object > should handle GET request to directory > console messages 1`] = `[]`; -exports[`historyApiFallback option as object should handle GET request to directory: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object > should handle GET request to directory > page errors 1`] = `[]`; -exports[`historyApiFallback option as object should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > as object > should handle GET request to directory > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option as object should handle GET request to directory: response status 1`] = `200`; +exports[`historyApiFallback option > as object > should handle GET request to directory > response status 1`] = `200`; -exports[`historyApiFallback option as object should handle GET request to directory: response text 1`] = ` +exports[`historyApiFallback option > as object > should handle GET request to directory > response text 1`] = ` "Foobar " `; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static > should handle GET request to directory > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static > should handle GET request to directory > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response headers content-type 1`] = `"text/html; charset=UTF-8"`; +exports[`historyApiFallback option > as object with static > should handle GET request to directory > response headers content-type 1`] = `"text/html; charset=UTF-8"`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static > should handle GET request to directory > response status 1`] = `200`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response text 1`] = ` -"Other file +exports[`historyApiFallback option > as object with static > should handle GET request to directory > response text 1`] = ` +"Foobar " `; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static > should prefer static file over historyApiFallback > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static > should prefer static file over historyApiFallback > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response headers content-type 1`] = `"text/html; charset=UTF-8"`; +exports[`historyApiFallback option > as object with static > should prefer static file over historyApiFallback > response headers content-type 1`] = `"text/plain; charset=UTF-8"`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static > should prefer static file over historyApiFallback > response status 1`] = `200`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response text 1`] = ` -"Foobar +exports[`historyApiFallback option > as object with static > should prefer static file over historyApiFallback > response text 1`] = ` +"Random file " `; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect any other specified rewrites > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect any other specified rewrites > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response headers content-type 1`] = `"text/html; charset=UTF-8"`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect any other specified rewrites > response headers content-type 1`] = `"text/html; charset=UTF-8"`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect any other specified rewrites > response status 1`] = `200`; -exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response text 1`] = ` -"Foobar +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect any other specified rewrites > response text 1`] = ` +"Other file " `; -exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites and shows index for unknown urls > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites and shows index for unknown urls > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites and shows index for unknown urls > response headers content-type 1`] = `"text/html; charset=UTF-8"`; -exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites and shows index for unknown urls > response status 1`] = `200`; -exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response text 1`] = ` -"In-memory file +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites and shows index for unknown urls > response text 1`] = ` +"Foobar " `; -exports[`historyApiFallback option as object with static should handle GET request to directory: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites for index > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static should handle GET request to directory: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites for index > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=UTF-8"`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites for index > response headers content-type 1`] = `"text/html; charset=UTF-8"`; -exports[`historyApiFallback option as object with static should handle GET request to directory: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites for index > response status 1`] = `200`; -exports[`historyApiFallback option as object with static should handle GET request to directory: response text 1`] = ` +exports[`historyApiFallback option > as object with static and rewrites > historyApiFallback respect rewrites for index > response text 1`] = ` "Foobar " `; -exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with static set to false > historyApiFallback should work and ignore static content > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with static set to false > historyApiFallback should work and ignore static content > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response headers content-type 1`] = `"text/plain; charset=UTF-8"`; +exports[`historyApiFallback option > as object with static set to false > historyApiFallback should work and ignore static content > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response status 1`] = `200`; +exports[`historyApiFallback option > as object with static set to false > historyApiFallback should work and ignore static content > response status 1`] = `200`; -exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response text 1`] = ` -"Random file +exports[`historyApiFallback option > as object with static set to false > historyApiFallback should work and ignore static content > response text 1`] = ` +"In-memory file " `; -exports[`historyApiFallback option as object with the "logger" option request to directory and log: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with the "logger" option > request to directory and log > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with the "logger" option request to directory and log: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with the "logger" option > request to directory and log > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with the "logger" option request to directory and log: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > as object with the "logger" option > request to directory and log > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option as object with the "logger" option request to directory and log: response status 1`] = `200`; +exports[`historyApiFallback option > as object with the "logger" option > request to directory and log > response status 1`] = `200`; -exports[`historyApiFallback option as object with the "logger" option request to directory and log: response text 1`] = ` +exports[`historyApiFallback option > as object with the "logger" option > request to directory and log > response text 1`] = ` "Foobar " `; -exports[`historyApiFallback option as object with the "verbose" option request to directory and log: console messages 1`] = `[]`; +exports[`historyApiFallback option > as object with the "verbose" option > request to directory and log > console messages 1`] = `[]`; -exports[`historyApiFallback option as object with the "verbose" option request to directory and log: page errors 1`] = `[]`; +exports[`historyApiFallback option > as object with the "verbose" option > request to directory and log > page errors 1`] = `[]`; -exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > as object with the "verbose" option > request to directory and log > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response status 1`] = `200`; +exports[`historyApiFallback option > as object with the "verbose" option > request to directory and log > response status 1`] = `200`; -exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response text 1`] = ` +exports[`historyApiFallback option > as object with the "verbose" option > request to directory and log > response text 1`] = ` "Foobar " `; -exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > in-memory files > should perform HEAD request in same way as GET > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response status 1`] = `"OK"`; +exports[`historyApiFallback option > in-memory files > should perform HEAD request in same way as GET > response status 1`] = `"OK"`; -exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response text 1`] = ` +exports[`historyApiFallback option > in-memory files > should perform HEAD request in same way as GET > response text 1`] = ` "In-memory file " `; -exports[`historyApiFallback option in-memory files should take precedence over static files: console messages 1`] = `[]`; +exports[`historyApiFallback option > in-memory files > should take precedence over static files > console messages 1`] = `[]`; -exports[`historyApiFallback option in-memory files should take precedence over static files: page errors 1`] = `[]`; +exports[`historyApiFallback option > in-memory files > should take precedence over static files > page errors 1`] = `[]`; -exports[`historyApiFallback option in-memory files should take precedence over static files: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`historyApiFallback option > in-memory files > should take precedence over static files > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`historyApiFallback option in-memory files should take precedence over static files: response status 1`] = `200`; +exports[`historyApiFallback option > in-memory files > should take precedence over static files > response status 1`] = `200`; -exports[`historyApiFallback option in-memory files should take precedence over static files: response text 1`] = ` +exports[`historyApiFallback option > in-memory files > should take precedence over static files > response text 1`] = ` "In-memory file " `; diff --git a/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 b/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 index 4021975..0fdffb4 100644 --- a/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 @@ -1,33 +1,33 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`hot and live reload should not refresh content when hot and no live reload disabled (default): console messages 1`] = ` +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., ] `; -exports[`hot and live reload should not refresh content when hot and no live reload disabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should not refresh content when hot and no live reload disabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., ] `; -exports[`hot and live reload should not refresh content when hot and no live reload disabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should not refresh content when hot and no live reload disabled (ws): console messages 1`] = ` +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., ] `; -exports[`hot and live reload should not refresh content when hot and no live reload disabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should not refresh content when hot and no live reload disabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default): console messages 1`] = ` +exports[`hot and live reload > should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -35,9 +35,9 @@ exports[`hot and live reload should work and allow to disable hot module replace ] `; -exports[`hot and live reload should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default): console messages 1`] = ` +exports[`hot and live reload > should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -48,22 +48,22 @@ exports[`hot and live reload should work and allow to disable hot module replace ] `; -exports[`hot and live reload should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default): console messages 1`] = ` +exports[`hot and live reload > should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., ] `; -exports[`hot and live reload should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and do nothing when web socket server disabled (default): console messages 1`] = `[]`; +exports[`hot and live reload > should work and do nothing when web socket server disabled (default) > console messages 1`] = `[]`; -exports[`hot and live reload should work and do nothing when web socket server disabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and do nothing when web socket server disabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -78,9 +78,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -95,9 +95,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -112,9 +112,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (ws): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -129,9 +129,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when hot enabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload and hot enabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -146,9 +146,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload and hot enabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (ws): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload and hot enabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -163,9 +163,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload and hot enabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -180,9 +180,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -197,9 +197,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -214,9 +214,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -231,9 +231,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -248,9 +248,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (ws): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -265,9 +265,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled and hot disabled (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled and hot disabled (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -282,9 +282,9 @@ exports[`hot and live reload should work and refresh content using hot module re ] `; -exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled and hot disabled (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using hot module replacement when live reload enabled and hot disabled (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using live reload (default): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using live reload (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., @@ -293,9 +293,9 @@ exports[`hot and live reload should work and refresh content using live reload ( ] `; -exports[`hot and live reload should work and refresh content using live reload (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using live reload (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using live reload when live reload disabled and hot enabled (sockjs): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using live reload when live reload disabled and hot enabled (sockjs) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., @@ -304,9 +304,9 @@ exports[`hot and live reload should work and refresh content using live reload w ] `; -exports[`hot and live reload should work and refresh content using live reload when live reload disabled and hot enabled (sockjs): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using live reload when live reload disabled and hot enabled (sockjs) > page errors 1`] = `[]`; -exports[`hot and live reload should work and refresh content using live reload when live reload enabled and hot disabled (ws): console messages 1`] = ` +exports[`hot and live reload > should work and refresh content using live reload when live reload enabled and hot disabled (ws) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., [webpack-dev-server] App updated. Recompiling..., @@ -315,9 +315,9 @@ exports[`hot and live reload should work and refresh content using live reload w ] `; -exports[`hot and live reload should work and refresh content using live reload when live reload enabled and hot disabled (ws): page errors 1`] = `[]`; +exports[`hot and live reload > should work and refresh content using live reload when live reload enabled and hot disabled (ws) > page errors 1`] = `[]`; -exports[`hot and live reload should work with manual client setup (default): console messages 1`] = ` +exports[`hot and live reload > should work with manual client setup (default) > console messages 1`] = ` [ [HMR] Waiting for update signal from WDS..., [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled., @@ -332,9 +332,9 @@ exports[`hot and live reload should work with manual client setup (default): con ] `; -exports[`hot and live reload should work with manual client setup (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work with manual client setup (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work with manual client setup and allow to disable hot module replacement (default): console messages 1`] = ` +exports[`hot and live reload > should work with manual client setup and allow to disable hot module replacement (default) > console messages 1`] = ` [ [HMR] Waiting for update signal from WDS..., [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled., @@ -345,18 +345,18 @@ exports[`hot and live reload should work with manual client setup and allow to d ] `; -exports[`hot and live reload should work with manual client setup and allow to disable hot module replacement (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work with manual client setup and allow to disable hot module replacement (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work with manual client setup and allow to disable live reload (default): console messages 1`] = ` +exports[`hot and live reload > should work with manual client setup and allow to disable live reload (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled., [webpack-dev-server] App updated. Recompiling..., ] `; -exports[`hot and live reload should work with manual client setup and allow to disable live reload (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work with manual client setup and allow to disable live reload (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work with manual client setup and allow to enable hot module replacement (default): console messages 1`] = ` +exports[`hot and live reload > should work with manual client setup and allow to enable hot module replacement (default) > console messages 1`] = ` [ [HMR] Waiting for update signal from WDS..., [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay disabled., @@ -371,9 +371,9 @@ exports[`hot and live reload should work with manual client setup and allow to e ] `; -exports[`hot and live reload should work with manual client setup and allow to enable hot module replacement (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work with manual client setup and allow to enable hot module replacement (default) > page errors 1`] = `[]`; -exports[`hot and live reload should work with manual client setup and allow to enable live reload (default): console messages 1`] = ` +exports[`hot and live reload > should work with manual client setup and allow to enable live reload (default) > console messages 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay disabled., [webpack-dev-server] App updated. Recompiling..., @@ -382,4 +382,4 @@ exports[`hot and live reload should work with manual client setup and allow to e ] `; -exports[`hot and live reload should work with manual client setup and allow to enable live reload (default): page errors 1`] = `[]`; +exports[`hot and live reload > should work with manual client setup and allow to enable live reload (default) > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 b/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 index b850865..d01f17c 100644 --- a/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`web socket server URL should work with the "ipc" option using "string" value ("sockjs"): console messages 1`] = ` +exports[`web socket server URL > should work with the "ipc" option using "string" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,9 +8,9 @@ exports[`web socket server URL should work with the "ipc" option using "string" ] `; -exports[`web socket server URL should work with the "ipc" option using "string" value ("sockjs"): page errors 1`] = `[]`; +exports[`web socket server URL > should work with the "ipc" option using "string" value ("sockjs") > page errors 1`] = `[]`; -exports[`web socket server URL should work with the "ipc" option using "string" value ("ws"): console messages 1`] = ` +exports[`web socket server URL > should work with the "ipc" option using "string" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -18,9 +18,9 @@ exports[`web socket server URL should work with the "ipc" option using "string" ] `; -exports[`web socket server URL should work with the "ipc" option using "string" value ("ws"): page errors 1`] = `[]`; +exports[`web socket server URL > should work with the "ipc" option using "string" value ("ws") > page errors 1`] = `[]`; -exports[`web socket server URL should work with the "ipc" option using "true" value ("sockjs"): console messages 1`] = ` +exports[`web socket server URL > should work with the "ipc" option using "true" value ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -28,9 +28,9 @@ exports[`web socket server URL should work with the "ipc" option using "true" va ] `; -exports[`web socket server URL should work with the "ipc" option using "true" value ("sockjs"): page errors 1`] = `[]`; +exports[`web socket server URL > should work with the "ipc" option using "true" value ("sockjs") > page errors 1`] = `[]`; -exports[`web socket server URL should work with the "ipc" option using "true" value ("ws"): console messages 1`] = ` +exports[`web socket server URL > should work with the "ipc" option using "true" value ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -38,4 +38,4 @@ exports[`web socket server URL should work with the "ipc" option using "true" va ] `; -exports[`web socket server URL should work with the "ipc" option using "true" value ("ws"): page errors 1`] = `[]`; +exports[`web socket server URL > should work with the "ipc" option using "true" value ("ws") > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 b/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 index ac01199..19becec 100644 --- a/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 @@ -1,20 +1,20 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`logging should work and do not log messages about hot and live reloading is enabled (sockjs) 1`] = ` +exports[`logging > should work and do not log messages about hot and live reloading is enabled (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled., Hey., ] `; -exports[`logging should work and do not log messages about hot and live reloading is enabled (ws) 1`] = ` +exports[`logging > should work and do not log messages about hot and live reloading is enabled (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled., Hey., ] `; -exports[`logging should work and log errors by default (sockjs) 1`] = ` +exports[`logging > should work and log errors by default (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -26,7 +26,7 @@ exports[`logging should work and log errors by default (sockjs) 1`] = ` ] `; -exports[`logging should work and log errors by default (ws) 1`] = ` +exports[`logging > should work and log errors by default (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -38,21 +38,21 @@ exports[`logging should work and log errors by default (ws) 1`] = ` ] `; -exports[`logging should work and log message about live reloading is enabled (sockjs) 1`] = ` +exports[`logging > should work and log message about live reloading is enabled (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., Hey., ] `; -exports[`logging should work and log message about live reloading is enabled (ws) 1`] = ` +exports[`logging > should work and log message about live reloading is enabled (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled., Hey., ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 1`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -60,7 +60,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 2`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (sockjs) 2`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -68,7 +68,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 3`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (sockjs) 3`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -76,7 +76,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (ws) 1`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -84,7 +84,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (ws) 2`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (ws) 2`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -92,7 +92,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot and live reloading is enabled (ws) 3`] = ` +exports[`logging > should work and log messages about hot and live reloading is enabled (ws) 3`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -100,7 +100,7 @@ exports[`logging should work and log messages about hot and live reloading is en ] `; -exports[`logging should work and log messages about hot is enabled (sockjs) 1`] = ` +exports[`logging > should work and log messages about hot is enabled (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -108,7 +108,7 @@ exports[`logging should work and log messages about hot is enabled (sockjs) 1`] ] `; -exports[`logging should work and log messages about hot is enabled (ws) 1`] = ` +exports[`logging > should work and log messages about hot is enabled (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -116,7 +116,7 @@ exports[`logging should work and log messages about hot is enabled (ws) 1`] = ` ] `; -exports[`logging should work and log only error (sockjs) 1`] = ` +exports[`logging > should work and log only error (sockjs) 1`] = ` [ Hey., [webpack-dev-server] Errors while compiling. Reload prevented., @@ -126,7 +126,7 @@ exports[`logging should work and log only error (sockjs) 1`] = ` ] `; -exports[`logging should work and log only error (ws) 1`] = ` +exports[`logging > should work and log only error (ws) 1`] = ` [ Hey., [webpack-dev-server] Errors while compiling. Reload prevented., @@ -136,7 +136,7 @@ exports[`logging should work and log only error (ws) 1`] = ` ] `; -exports[`logging should work and log static changes (sockjs) 1`] = ` +exports[`logging > should work and log static changes (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -148,7 +148,7 @@ exports[`logging should work and log static changes (sockjs) 1`] = ` ] `; -exports[`logging should work and log static changes (ws) 1`] = ` +exports[`logging > should work and log static changes (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -160,7 +160,7 @@ exports[`logging should work and log static changes (ws) 1`] = ` ] `; -exports[`logging should work and log warning and errors (sockjs) 1`] = ` +exports[`logging > should work and log warning and errors (sockjs) 1`] = ` [ Hey., [webpack-dev-server] Warnings while compiling., @@ -174,7 +174,7 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = ` ] `; -exports[`logging should work and log warning and errors (ws) 1`] = ` +exports[`logging > should work and log warning and errors (ws) 1`] = ` [ Hey., [webpack-dev-server] Warnings while compiling., @@ -188,7 +188,7 @@ exports[`logging should work and log warning and errors (ws) 1`] = ` ] `; -exports[`logging should work and log warnings by default (sockjs) 1`] = ` +exports[`logging > should work and log warnings by default (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -200,7 +200,7 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = ` ] `; -exports[`logging should work and log warnings by default (ws) 1`] = ` +exports[`logging > should work and log warnings by default (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -212,7 +212,7 @@ exports[`logging should work and log warnings by default (ws) 1`] = ` ] `; -exports[`logging should work when the "client.logging" is "info" (sockjs) 1`] = ` +exports[`logging > should work when the "client.logging" is "info" (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -220,7 +220,7 @@ exports[`logging should work when the "client.logging" is "info" (sockjs) 1`] = ] `; -exports[`logging should work when the "client.logging" is "info" (ws) 1`] = ` +exports[`logging > should work when the "client.logging" is "info" (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -228,7 +228,7 @@ exports[`logging should work when the "client.logging" is "info" (ws) 1`] = ` ] `; -exports[`logging should work when the "client.logging" is "log" (sockjs) 1`] = ` +exports[`logging > should work when the "client.logging" is "log" (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -236,7 +236,7 @@ exports[`logging should work when the "client.logging" is "log" (sockjs) 1`] = ` ] `; -exports[`logging should work when the "client.logging" is "log" (ws) 1`] = ` +exports[`logging > should work when the "client.logging" is "log" (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -244,19 +244,19 @@ exports[`logging should work when the "client.logging" is "log" (ws) 1`] = ` ] `; -exports[`logging should work when the "client.logging" is "none" (sockjs) 1`] = ` +exports[`logging > should work when the "client.logging" is "none" (sockjs) 1`] = ` [ Hey., ] `; -exports[`logging should work when the "client.logging" is "none" (ws) 1`] = ` +exports[`logging > should work when the "client.logging" is "none" (ws) 1`] = ` [ Hey., ] `; -exports[`logging should work when the "client.logging" is "verbose" (sockjs) 1`] = ` +exports[`logging > should work when the "client.logging" is "verbose" (sockjs) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., @@ -264,7 +264,7 @@ exports[`logging should work when the "client.logging" is "verbose" (sockjs) 1`] ] `; -exports[`logging should work when the "client.logging" is "verbose" (ws) 1`] = ` +exports[`logging > should work when the "client.logging" is "verbose" (ws) 1`] = ` [ [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled., [HMR] Waiting for update signal from WDS..., diff --git a/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 b/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 index 6255268..e80fdc3 100644 --- a/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 @@ -1,17 +1,17 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`mimeTypes option as an object with a custom type should request file with different js mime type: console messages 1`] = `[]`; +exports[`mimeTypes option > as an object with a custom type > should request file with different js mime type > console messages 1`] = `[]`; -exports[`mimeTypes option as an object with a custom type should request file with different js mime type: page errors 1`] = `[]`; +exports[`mimeTypes option > as an object with a custom type > should request file with different js mime type > page errors 1`] = `[]`; -exports[`mimeTypes option as an object with a custom type should request file with different js mime type: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`mimeTypes option > as an object with a custom type > should request file with different js mime type > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`mimeTypes option as an object with a custom type should request file with different js mime type: response status 1`] = `200`; +exports[`mimeTypes option > as an object with a custom type > should request file with different js mime type > response status 1`] = `200`; -exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: console messages 1`] = `[]`; +exports[`mimeTypes option > as an object with a remapped type > should request file with different js mime type > console messages 1`] = `[]`; -exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: page errors 1`] = `[]`; +exports[`mimeTypes option > as an object with a remapped type > should request file with different js mime type > page errors 1`] = `[]`; -exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: response headers content-type 1`] = `"text/plain; charset=utf-8"`; +exports[`mimeTypes option > as an object with a remapped type > should request file with different js mime type > response headers content-type 1`] = `"text/plain; charset=utf-8"`; -exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: response status 1`] = `200`; +exports[`mimeTypes option > as an object with a remapped type > should request file with different js mime type > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 b/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 index 8d4ba07..c7c6bbb 100644 --- a/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 @@ -1,25 +1,25 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`Module federation should use plugin should contain hot script in main.js: console messages 1`] = `[]`; +exports[`Module federation > should use plugin > should contain hot script in main.js > console messages 1`] = `[]`; -exports[`Module federation should use plugin should contain hot script in main.js: page errors 1`] = `[]`; +exports[`Module federation > should use plugin > should contain hot script in main.js > page errors 1`] = `[]`; -exports[`Module federation should use plugin should contain hot script in remoteEntry.js: console messages 1`] = `[]`; +exports[`Module federation > should use plugin > should contain hot script in remoteEntry.js > console messages 1`] = `[]`; -exports[`Module federation should use plugin should contain hot script in remoteEntry.js: page errors 1`] = `[]`; +exports[`Module federation > should use plugin > should contain hot script in remoteEntry.js > page errors 1`] = `[]`; -exports[`Module federation should work with multi compiler config should use the last entry export: console messages 1`] = `[]`; +exports[`Module federation > should work with multi compiler config > should use the last entry export > console messages 1`] = `[]`; -exports[`Module federation should work with multi compiler config should use the last entry export: page errors 1`] = `[]`; +exports[`Module federation > should work with multi compiler config > should use the last entry export > page errors 1`] = `[]`; -exports[`Module federation should work with object multi-entry config should support the named entry export: console messages 1`] = `[]`; +exports[`Module federation > should work with object multi-entry config > should support the named entry export > console messages 1`] = `[]`; -exports[`Module federation should work with object multi-entry config should support the named entry export: page errors 1`] = `[]`; +exports[`Module federation > should work with object multi-entry config > should support the named entry export > page errors 1`] = `[]`; -exports[`Module federation should work with object multi-entry config should use the last entry export: console messages 1`] = `[]`; +exports[`Module federation > should work with object multi-entry config > should use the last entry export > console messages 1`] = `[]`; -exports[`Module federation should work with object multi-entry config should use the last entry export: page errors 1`] = `[]`; +exports[`Module federation > should work with object multi-entry config > should use the last entry export > page errors 1`] = `[]`; -exports[`Module federation should work with simple multi-entry config should use the last entry export: console messages 1`] = `[]`; +exports[`Module federation > should work with simple multi-entry config > should use the last entry export > console messages 1`] = `[]`; -exports[`Module federation should work with simple multi-entry config should use the last entry export: page errors 1`] = `[]`; +exports[`Module federation > should work with simple multi-entry config > should use the last entry export > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 b/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 index 7a06874..119df20 100644 --- a/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`multi compiler should work with one web target configuration and do nothing: console messages 1`] = ` +exports[`multi compiler > should work with one web target configuration and do nothing > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,9 +8,9 @@ exports[`multi compiler should work with one web target configuration and do not ] `; -exports[`multi compiler should work with one web target configuration and do nothing: page errors 1`] = `[]`; +exports[`multi compiler > should work with one web target configuration and do nothing > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration and do nothing: console messages 1`] = ` +exports[`multi compiler > should work with universal configuration and do nothing > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -18,9 +18,9 @@ exports[`multi compiler should work with universal configuration and do nothing: ] `; -exports[`multi compiler should work with universal configuration and do nothing: page errors 1`] = `[]`; +exports[`multi compiler > should work with universal configuration and do nothing > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed: console messages 1`] = ` +exports[`multi compiler > should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -38,9 +38,9 @@ Update propagation: ./browser.js ] `; -exports[`multi compiler should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed: page errors 1`] = `[]`; +exports[`multi compiler > should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed: console messages 1`] = ` +exports[`multi compiler > should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -58,9 +58,9 @@ Update propagation: ./browser.js ] `; -exports[`multi compiler should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed: page errors 1`] = `[]`; +exports[`multi compiler > should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: console messages 1`] = ` +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "Hello from the browser", @@ -71,7 +71,7 @@ exports[`multi compiler should work with universal configuration when only live ] `; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: console messages 2`] = ` +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "Hello from the browser", @@ -82,11 +82,11 @@ exports[`multi compiler should work with universal configuration when only live ] `; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > page errors 2`] = `[]`; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: console messages 1`] = ` +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "Hello from the browser", @@ -97,7 +97,7 @@ exports[`multi compiler should work with universal configuration when only live ] `; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: console messages 2`] = ` +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "Hello from the browser", @@ -108,11 +108,11 @@ exports[`multi compiler should work with universal configuration when only live ] `; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > page errors 1`] = `[]`; -exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > page errors 2`] = `[]`; -exports[`multi compiler should work with web target configurations and do nothing: console messages 1`] = ` +exports[`multi compiler > should work with web target configurations and do nothing > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -120,7 +120,7 @@ exports[`multi compiler should work with web target configurations and do nothin ] `; -exports[`multi compiler should work with web target configurations and do nothing: console messages 2`] = ` +exports[`multi compiler > should work with web target configurations and do nothing > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -128,11 +128,11 @@ exports[`multi compiler should work with web target configurations and do nothin ] `; -exports[`multi compiler should work with web target configurations and do nothing: page errors 1`] = `[]`; +exports[`multi compiler > should work with web target configurations and do nothing > page errors 1`] = `[]`; -exports[`multi compiler should work with web target configurations and do nothing: page errors 2`] = `[]`; +exports[`multi compiler > should work with web target configurations and do nothing > page errors 2`] = `[]`; -exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: console messages 1`] = ` +exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -150,7 +150,7 @@ Update propagation: ./one.js ] `; -exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: console messages 2`] = ` +exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -168,11 +168,11 @@ Update propagation: ./two.js ] `; -exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > page errors 1`] = `[]`; -exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > page errors 2`] = `[]`; -exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: console messages 1`] = ` +exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -190,7 +190,7 @@ Update propagation: ./one.js ] `; -exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: console messages 2`] = ` +exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -208,11 +208,11 @@ Update propagation: ./two.js ] `; -exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > page errors 1`] = `[]`; -exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > page errors 2`] = `[]`; -exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: console messages 1`] = ` +exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "one", @@ -223,7 +223,7 @@ exports[`multi compiler should work with web target configurations when only liv ] `; -exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: console messages 2`] = ` +exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "two", @@ -234,11 +234,11 @@ exports[`multi compiler should work with web target configurations when only liv ] `; -exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > page errors 1`] = `[]`; -exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > page errors 2`] = `[]`; -exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: console messages 1`] = ` +exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "one", @@ -249,7 +249,7 @@ exports[`multi compiler should work with web target configurations when only liv ] `; -exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: console messages 2`] = ` +exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "two", @@ -260,6 +260,6 @@ exports[`multi compiler should work with web target configurations when only liv ] `; -exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: page errors 1`] = `[]`; +exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > page errors 1`] = `[]`; -exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: page errors 2`] = `[]`; +exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > page errors 2`] = `[]`; diff --git a/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 b/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 index 3a34989..b1a46b0 100644 --- a/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 @@ -1,21 +1,21 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`onListening option should handle GET request to /listening/some/path route: console messages 1`] = `[]`; +exports[`onListening option > should handle GET request to /listening/some/path route > console messages 1`] = `[]`; -exports[`onListening option should handle GET request to /listening/some/path route: page errors 1`] = `[]`; +exports[`onListening option > should handle GET request to /listening/some/path route > page errors 1`] = `[]`; -exports[`onListening option should handle GET request to /listening/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`onListening option > should handle GET request to /listening/some/path route > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`onListening option should handle GET request to /listening/some/path route: response status 1`] = `200`; +exports[`onListening option > should handle GET request to /listening/some/path route > response status 1`] = `200`; -exports[`onListening option should handle GET request to /listening/some/path route: response text 1`] = `"listening"`; +exports[`onListening option > should handle GET request to /listening/some/path route > response text 1`] = `"listening"`; -exports[`onListening option should handle POST request to /listening/some/path route: console messages 1`] = `[]`; +exports[`onListening option > should handle POST request to /listening/some/path route > console messages 1`] = `[]`; -exports[`onListening option should handle POST request to /listening/some/path route: page errors 1`] = `[]`; +exports[`onListening option > should handle POST request to /listening/some/path route > page errors 1`] = `[]`; -exports[`onListening option should handle POST request to /listening/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`onListening option > should handle POST request to /listening/some/path route > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`onListening option should handle POST request to /listening/some/path route: response status 1`] = `200`; +exports[`onListening option > should handle POST request to /listening/some/path route > response status 1`] = `200`; -exports[`onListening option should handle POST request to /listening/some/path route: response text 1`] = `"listening POST"`; +exports[`onListening option > should handle POST request to /listening/some/path route > response text 1`] = `"listening POST"`; diff --git a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 index cbc5ed8..81ca2b5 100644 --- a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`overlay should not show a warning when "client.overlay" is "false": page html 1`] = ` +exports[`overlay > should not show a warning when "client.overlay" is "false" > page html 1`] = `

webpack-dev-server is running...

@@ -8,7 +8,7 @@ exports[`overlay should not show a warning when "client.overlay" is "false": pag `; -exports[`overlay should not show a warning when "client.overlay.warnings" is "false": page html 1`] = ` +exports[`overlay > should not show a warning when "client.overlay.warnings" is "false" > page html 1`] = `

webpack-dev-server is running...

@@ -16,7 +16,7 @@ exports[`overlay should not show a warning when "client.overlay.warnings" is "fa `; -exports[`overlay should not show an error when "client.overlay" is "false": page html 1`] = ` +exports[`overlay > should not show an error when "client.overlay" is "false" > page html 1`] = `

webpack-dev-server is running...

@@ -24,7 +24,7 @@ exports[`overlay should not show an error when "client.overlay" is "false": page `; -exports[`overlay should not show an error when "client.overlay.errors" is "false": page html 1`] = ` +exports[`overlay > should not show an error when "client.overlay.errors" is "false" > page html 1`] = `

webpack-dev-server is running...

@@ -32,7 +32,7 @@ exports[`overlay should not show an error when "client.overlay.errors" is "false `; -exports[`overlay should not show initially, then show on an error and allow to close: overlay html 1`] = ` +exports[`overlay > should not show initially, then show on an error and allow to close > overlay html 1`] = `
should not show initially, then show on an error and allow to close > page html after close 1`] = `

webpack-dev-server is running...

@@ -138,7 +138,7 @@ exports[`overlay should not show initially, then show on an error and allow to c `; -exports[`overlay should not show initially, then show on an error and allow to close: page html initial 1`] = ` +exports[`overlay > should not show initially, then show on an error and allow to close > page html initial 1`] = `

webpack-dev-server is running...

@@ -146,7 +146,7 @@ exports[`overlay should not show initially, then show on an error and allow to c `; -exports[`overlay should not show initially, then show on an error and allow to close: page html with error 1`] = ` +exports[`overlay > should not show initially, then show on an error and allow to close > page html with error 1`] = `

webpack-dev-server is running...

@@ -167,7 +167,7 @@ exports[`overlay should not show initially, then show on an error and allow to c `; -exports[`overlay should not show initially, then show on an error, then hide on fix: overlay html 1`] = ` +exports[`overlay > should not show initially, then show on an error, then hide on fix > overlay html 1`] = `
should not show initially, then show on an error, then hide on fix > page html after fix error 1`] = `

webpack-dev-server is running...

@@ -273,7 +273,7 @@ exports[`overlay should not show initially, then show on an error, then hide on `; -exports[`overlay should not show initially, then show on an error, then hide on fix: page html initial 1`] = ` +exports[`overlay > should not show initially, then show on an error, then hide on fix > page html initial 1`] = `

webpack-dev-server is running...

@@ -281,7 +281,7 @@ exports[`overlay should not show initially, then show on an error, then hide on `; -exports[`overlay should not show initially, then show on an error, then hide on fix: page html with error 1`] = ` +exports[`overlay > should not show initially, then show on an error, then hide on fix > page html with error 1`] = `

webpack-dev-server is running...

@@ -302,7 +302,7 @@ exports[`overlay should not show initially, then show on an error, then hide on `; -exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: overlay html 1`] = ` +exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix > overlay html 1`] = `
should not show initially, then show on an error, then show other error, then hide on fix > overlay html 2`] = `
should not show initially, then show on an error, then show other error, then hide on fix > page html after fix error 1`] = `

webpack-dev-server is running...

@@ -506,7 +506,7 @@ exports[`overlay should not show initially, then show on an error, then show oth `; -exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html initial 1`] = ` +exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix > page html initial 1`] = `

webpack-dev-server is running...

@@ -514,7 +514,7 @@ exports[`overlay should not show initially, then show on an error, then show oth `; -exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html with error 1`] = ` +exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix > page html with error 1`] = `

webpack-dev-server is running...

@@ -535,7 +535,7 @@ exports[`overlay should not show initially, then show on an error, then show oth `; -exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html with other error 1`] = ` +exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix > page html with other error 1`] = `

webpack-dev-server is running...

@@ -556,7 +556,7 @@ exports[`overlay should not show initially, then show on an error, then show oth `; -exports[`overlay should not show overlay when Trusted Types are enabled, but policy is not allowed: page html 1`] = ` +exports[`overlay > should not show overlay when Trusted Types are enabled, but policy is not allowed > page html 1`] = `

webpack-dev-server is running...

@@ -564,7 +564,7 @@ exports[`overlay should not show overlay when Trusted Types are enabled, but pol `; -exports[`overlay should show a warning after invalidation: overlay html 1`] = ` +exports[`overlay > should show a warning after invalidation > overlay html 1`] = `
should show a warning after invalidation > page html 1`] = `

webpack-dev-server is running...

@@ -669,7 +669,7 @@ exports[`overlay should show a warning after invalidation: page html 1`] = ` `; -exports[`overlay should show a warning and error for initial compilation and protects against xss: overlay html 1`] = ` +exports[`overlay > should show a warning and error for initial compilation > overlay html 1`] = `
- âš  <strong>strong</strong> + âš  Warning from compilation
- × <strong>strong</strong> + ⚠ Warning from compilation
-
-
- - -`; - -exports[`overlay should show a warning and error for initial compilation and protects against xss: page html 1`] = ` - -

webpack-dev-server is running...

- - - - - -`; - -exports[`overlay should show a warning and error for initial compilation: overlay html 1`] = ` - -
-
- Compiled with problems: -
- -
- ⚠ Warning from compilation + × Error from compilation. Can't find 'test' module.
- ⚠ Warning from compilation + × Error from compilation. Can't find 'test' module.
+
+ + + +`; + +exports[`overlay > should show a warning and error for initial compilation > page html 1`] = ` + +

webpack-dev-server is running...

+ + + + + +`; + +exports[`overlay > should show a warning and error for initial compilation and protects against xss > overlay html 1`] = ` + +
+
+ Compiled with problems: +
+ +
- × Error from compilation. Can't find 'test' module. + ⚠ <strong>strong</strong>
- × Error from compilation. Can't find 'test' module. + × <strong>strong</strong>
@@ -993,7 +993,7 @@ exports[`overlay should show a warning and error for initial compilation: overla `; -exports[`overlay should show a warning and error for initial compilation: page html 1`] = ` +exports[`overlay > should show a warning and error for initial compilation and protects against xss > page html 1`] = `

webpack-dev-server is running...

@@ -1014,7 +1014,7 @@ exports[`overlay should show a warning and error for initial compilation: page h `; -exports[`overlay should show a warning and hide them after closing connection: overlay html 1`] = ` +exports[`overlay > should show a warning and hide them after closing connection > overlay html 1`] = `
should show a warning and hide them after closing connection > page html 1`] = `

webpack-dev-server is running...

@@ -1119,7 +1119,7 @@ exports[`overlay should show a warning and hide them after closing connection: p `; -exports[`overlay should show a warning and hide them after closing connection: page html 2`] = ` +exports[`overlay > should show a warning and hide them after closing connection > page html 2`] = `

webpack-dev-server is running...

@@ -1127,7 +1127,7 @@ exports[`overlay should show a warning and hide them after closing connection: p `; -exports[`overlay should show a warning for initial compilation: overlay html 1`] = ` +exports[`overlay > should show a warning for initial compilation > overlay html 1`] = `
should show a warning for initial compilation > page html 1`] = `

webpack-dev-server is running...

@@ -1232,7 +1232,7 @@ exports[`overlay should show a warning for initial compilation: page html 1`] = `; -exports[`overlay should show a warning when "client.overlay" is "true": overlay html 1`] = ` +exports[`overlay > should show a warning when "client.overlay" is "true" > overlay html 1`] = `
should show a warning when "client.overlay" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -1337,7 +1337,7 @@ exports[`overlay should show a warning when "client.overlay" is "true": page htm `; -exports[`overlay should show a warning when "client.overlay.errors" is "true": overlay html 1`] = ` +exports[`overlay > should show a warning when "client.overlay.errors" is "true" > overlay html 1`] = `
should show a warning when "client.overlay.errors" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -1442,7 +1442,7 @@ exports[`overlay should show a warning when "client.overlay.errors" is "true": p `; -exports[`overlay should show a warning when "client.overlay.warnings" is "true": overlay html 1`] = ` +exports[`overlay > should show a warning when "client.overlay.warnings" is "true" > overlay html 1`] = `
should show a warning when "client.overlay.warnings" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -1547,7 +1547,7 @@ exports[`overlay should show a warning when "client.overlay.warnings" is "true": `; -exports[`overlay should show an ansi formatted error for initial compilation: overlay html 1`] = ` +exports[`overlay > should show an ansi formatted error for initial compilation > overlay html 1`] = `
should show an ansi formatted error for initial compilation > page html 1`] = `

webpack-dev-server is running...

@@ -1672,7 +1672,7 @@ exports[`overlay should show an ansi formatted error for initial compilation: pa `; -exports[`overlay should show an error after invalidation: overlay html 1`] = ` +exports[`overlay > should show an error after invalidation > overlay html 1`] = `
should show an error after invalidation > page html 1`] = `

webpack-dev-server is running...

@@ -1777,7 +1777,7 @@ exports[`overlay should show an error after invalidation: page html 1`] = ` `; -exports[`overlay should show an error for initial compilation: overlay html 1`] = ` +exports[`overlay > should show an error for initial compilation > overlay html 1`] = `
should show an error for initial compilation > page html 1`] = `

webpack-dev-server is running...

@@ -1882,7 +1882,7 @@ exports[`overlay should show an error for initial compilation: page html 1`] = ` `; -exports[`overlay should show an error when "client.overlay" is "true": overlay html 1`] = ` +exports[`overlay > should show an error when "client.overlay" is "true" > overlay html 1`] = `
should show an error when "client.overlay" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -1987,7 +1987,7 @@ exports[`overlay should show an error when "client.overlay" is "true": page html `; -exports[`overlay should show an error when "client.overlay.errors" is "true": overlay html 1`] = ` +exports[`overlay > should show an error when "client.overlay.errors" is "true" > overlay html 1`] = `
should show an error when "client.overlay.errors" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -2092,7 +2092,7 @@ exports[`overlay should show an error when "client.overlay.errors" is "true": pa `; -exports[`overlay should show an error when "client.overlay.warnings" is "true": overlay html 1`] = ` +exports[`overlay > should show an error when "client.overlay.warnings" is "true" > overlay html 1`] = `
should show an error when "client.overlay.warnings" is "true" > page html 1`] = `

webpack-dev-server is running...

@@ -2197,7 +2197,7 @@ exports[`overlay should show an error when "client.overlay.warnings" is "true": `; -exports[`overlay should show error for uncaught promise rejection: overlay html 1`] = ` +exports[`overlay > should show error for uncaught promise rejection > overlay html 1`] = `
should show error for uncaught runtime error > overlay html 1`] = `
should show error when it is not filtered > overlay html 1`] = `
should show error when it is not filtered > page html 1`] = `

webpack-dev-server is running...

@@ -2471,7 +2471,7 @@ exports[`overlay should show error when it is not filtered: page html 1`] = ` `; -exports[`overlay should show overlay when "Content-Security-Policy" is "default-src 'self'" was used: overlay html 1`] = ` +exports[`overlay > should show overlay when "Content-Security-Policy" is "default-src 'self'" was used > overlay html 1`] = `
should show overlay when "Content-Security-Policy" is "default-src 'self'" was used > page html 1`] = `

webpack-dev-server is running...

@@ -2576,7 +2576,7 @@ exports[`overlay should show overlay when "Content-Security-Policy" is "default- `; -exports[`overlay should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used: overlay html 1`] = ` +exports[`overlay > should show overlay when Trusted Types are enabled > overlay html 1`] = `
should show overlay when Trusted Types are enabled > page html 1`] = `

webpack-dev-server is running...

@@ -2681,7 +2681,7 @@ exports[`overlay should show overlay when Trusted Types are enabled and the "req `; -exports[`overlay should show overlay when Trusted Types are enabled: overlay html 1`] = ` +exports[`overlay > should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used > overlay html 1`] = `
should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used > page html 1`] = `

webpack-dev-server is running...

@@ -2786,7 +2786,7 @@ exports[`overlay should show overlay when Trusted Types are enabled: page html 1 `; -exports[`overlay should show warning when it is not filtered: overlay html 1`] = ` +exports[`overlay > should show warning when it is not filtered > overlay html 1`] = `
should show warning when it is not filtered > page html 1`] = `

webpack-dev-server is running...

diff --git a/tests/e2e/__snapshots__/port.test.js.snap.webpack5 b/tests/e2e/__snapshots__/port.test.js.snap.webpack5 index 56c9509..b5ea5f1 100644 --- a/tests/e2e/__snapshots__/port.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/port.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`port should work using "" port : console messages 1`] = ` +exports[`port > should work using "" port > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,9 +8,9 @@ exports[`port should work using "" port : console messages 1`] = ] `; -exports[`port should work using "" port : page errors 1`] = `[]`; +exports[`port > should work using "" port > page errors 1`] = `[]`; -exports[`port should work using "0" port : console messages 1`] = ` +exports[`port > should work using "0" port > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -18,9 +18,9 @@ exports[`port should work using "0" port : console messages 1`] = ` ] `; -exports[`port should work using "0" port : page errors 1`] = `[]`; +exports[`port > should work using "0" port > page errors 1`] = `[]`; -exports[`port should work using "8161" port : console messages 1`] = ` +exports[`port > should work using "8161" port > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -28,7 +28,7 @@ exports[`port should work using "8161" port : console messages 1`] = ` ] `; -exports[`port should work using "8161" port : console messages 2`] = ` +exports[`port > should work using "8161" port > console messages 2`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -36,11 +36,11 @@ exports[`port should work using "8161" port : console messages 2`] = ` ] `; -exports[`port should work using "8161" port : page errors 1`] = `[]`; +exports[`port > should work using "8161" port > page errors 1`] = `[]`; -exports[`port should work using "8161" port : page errors 2`] = `[]`; +exports[`port > should work using "8161" port > page errors 2`] = `[]`; -exports[`port should work using "auto" port : console messages 1`] = ` +exports[`port > should work using "auto" port > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -48,9 +48,9 @@ exports[`port should work using "auto" port : console messages 1`] = ` ] `; -exports[`port should work using "auto" port : page errors 1`] = `[]`; +exports[`port > should work using "auto" port > page errors 1`] = `[]`; -exports[`port should work using "undefined" port : console messages 1`] = ` +exports[`port > should work using "undefined" port > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -58,4 +58,4 @@ exports[`port should work using "undefined" port : console messages 1`] = ` ] `; -exports[`port should work using "undefined" port : page errors 1`] = `[]`; +exports[`port > should work using "undefined" port > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 b/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 index 6fa2cfc..00f522a 100644 --- a/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 @@ -1,63 +1,63 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`server and client transport should throw an error on invalid path to client transport 1`] = `"client.webSocketTransport must be a string denoting a default implementation (e.g. 'sockjs', 'ws') or a full path to a JS file via require.resolve(...) which exports a class "`; +exports[`server and client transport > should throw an error on invalid path to client transport 1`] = `[Error: client.webSocketTransport must be a string denoting a default implementation (e.g. 'sockjs', 'ws') or a full path to a JS file via require.resolve(...) which exports a class ]`; -exports[`server and client transport should throw an error on invalid path to server transport 1`] = `"webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer"`; +exports[`server and client transport > should throw an error on invalid path to server transport 1`] = `[Error: webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer]`; -exports[`server and client transport should throw an error on wrong path 1`] = `"webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer"`; +exports[`server and client transport > should throw an error on wrong path 1`] = `"webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer"`; -exports[`server and client transport should use "sockjs" transport and "sockjs" web socket server 1`] = ` +exports[`server and client transport > should use "sockjs" transport and "sockjs" web socket server 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "sockjs" transport, when web socket server is not specify 1`] = `[]`; +exports[`server and client transport > should use "sockjs" transport, when web socket server is not specify 1`] = `[]`; -exports[`server and client transport should use "sockjs" web socket server when specify "sockjs" value 1`] = ` +exports[`server and client transport > should use "sockjs" web socket server when specify "sockjs" value 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "sockjs" web socket server when specify "sockjs" value using object 1`] = ` +exports[`server and client transport > should use "sockjs" web socket server when specify "sockjs" value using object 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "ws" transport and "ws" web socket server 1`] = ` +exports[`server and client transport > should use "ws" transport and "ws" web socket server 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "ws" transport, when web socket server is not specify 1`] = ` +exports[`server and client transport > should use "ws" transport, when web socket server is not specify 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "ws" web socket server when specify "ws" value 1`] = ` +exports[`server and client transport > should use "ws" web socket server when specify "ws" value 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use "ws" web socket server when specify "ws" value using object 1`] = ` +exports[`server and client transport > should use "ws" web socket server when specify "ws" value using object 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use custom transport and "sockjs" web socket server 1`] = ` +exports[`server and client transport > should use custom transport and "sockjs" web socket server 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -71,35 +71,35 @@ exports[`server and client transport should use custom transport and "sockjs" we ] `; -exports[`server and client transport should use custom web socket server when specify class 1`] = ` +exports[`server and client transport > should use custom web socket server when specify class 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use custom web socket server when specify class using object 1`] = ` +exports[`server and client transport > should use custom web socket server when specify class using object 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use custom web socket server when specify path to class 1`] = ` +exports[`server and client transport > should use custom web socket server when specify path to class 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use custom web socket server when specify path to class using object 1`] = ` +exports[`server and client transport > should use custom web socket server when specify path to class using object 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", ] `; -exports[`server and client transport should use default web socket server ("ws") 1`] = ` +exports[`server and client transport > should use default web socket server ("ws") 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", diff --git a/tests/e2e/__snapshots__/server.test.js.snap.webpack5 b/tests/e2e/__snapshots__/server.test.js.snap.webpack5 index dabcd21..cf4691e 100644 --- a/tests/e2e/__snapshots__/server.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/server.test.js.snap.webpack5 @@ -1,8 +1,8 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`server option as object allow to pass more options should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > allow to pass more options > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object allow to pass more options should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > allow to pass more options > should handle GET request to index route (/) > https options 1`] = ` { "ca": "", "cert": "", @@ -14,18 +14,18 @@ exports[`server option as object allow to pass more options should handle GET re } `; -exports[`server option as object allow to pass more options should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > allow to pass more options > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object allow to pass more options should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > allow to pass more options > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object allow to pass more options should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > allow to pass more options > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of buffers > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of buffers > should handle GET request to index route (/) > https options 1`] = ` { "ca": [ "", @@ -44,18 +44,18 @@ exports[`server option as object ca, pfx, key and cert are array of buffers shou } `; -exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of buffers > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are array of buffers > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of buffers > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of paths to files > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of paths to files > should handle GET request to index route (/) > https options 1`] = ` { "ca": [ "", @@ -74,18 +74,18 @@ exports[`server option as object ca, pfx, key and cert are array of paths to fil } `; -exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of paths to files > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are array of paths to files > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of paths to files > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of strings > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of strings > should handle GET request to index route (/) > https options 1`] = ` { "ca": [ "-----BEGIN RSA PRIVATE KEY----- @@ -180,20 +180,20 @@ QyvMqmN1kGy20SZbQDD/fLfqBQ== } `; -exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are array of strings > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are array of strings > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are array of strings > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): console messages 2`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > console messages 2`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > https options 1`] = ` { "ca": "", "cert": "", @@ -204,7 +204,7 @@ exports[`server option as object ca, pfx, key and cert are buffer should handle } `; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): https options 2`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > https options 2`] = ` { "ca": "", "cert": "", @@ -215,27 +215,27 @@ exports[`server option as object ca, pfx, key and cert are buffer should handle } `; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): page errors 2`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > page errors 2`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response status 2`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > response status 2`] = `200`; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response text 2`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer > should handle GET request to index route (/) > response text 2`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer, key and pfx are objects > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer, key and pfx are objects > should handle GET request to index route (/) > https options 1`] = ` { "ca": "", "cert": "", @@ -254,18 +254,18 @@ exports[`server option as object ca, pfx, key and cert are buffer, key and pfx a } `; -exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are buffer, key and pfx are objects > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are buffer, key and pfx are objects > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are buffer, key and pfx are objects > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are paths to files > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are paths to files > should handle GET request to index route (/) > https options 1`] = ` { "ca": "", "cert": "", @@ -276,18 +276,18 @@ exports[`server option as object ca, pfx, key and cert are paths to files should } `; -exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are paths to files > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are paths to files > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are paths to files > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are strings > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are strings > should handle GET request to index route (/) > https options 1`] = ` { "ca": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAxAUVLFM+K3XDLQkBi7xt0s1Ip7JoHYDskzUDQNHjjMkUq5kv @@ -374,18 +374,18 @@ QyvMqmN1kGy20SZbQDD/fLfqBQ== } `; -exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are strings > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are strings > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are strings > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are strings, key and pfx are objects > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are strings, key and pfx are objects > should handle GET request to index route (/) > https options 1`] = ` { "ca": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAxAUVLFM+K3XDLQkBi7xt0s1Ip7JoHYDskzUDQNHjjMkUq5kv @@ -480,40 +480,40 @@ QyvMqmN1kGy20SZbQDD/fLfqBQ== } `; -exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > ca, pfx, key and cert are strings, key and pfx are objects > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > ca, pfx, key and cert are strings, key and pfx are objects > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > ca, pfx, key and cert are strings, key and pfx are objects > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object custom server with options should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > custom server with options > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object custom server with options should handle GET request to index route (/): http options 1`] = ` +exports[`server option > as object > custom server with options > should handle GET request to index route (/) > http options 1`] = ` { "maxHeaderSize": 16384, } `; -exports[`server option as object custom server with options should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > custom server with options > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object custom server with options should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > custom server with options > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object custom server with options should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > custom server with options > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object should support the "requestCert" option should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > should support the "requestCert" option > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object should support the "requestCert" option should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > should support the "requestCert" option > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as object should support the "requestCert" option should pass options to the 'https.createServer' method: https options 1`] = ` +exports[`server option > as object > should support the "requestCert" option > should pass options to the 'https.createServer' method > https options 1`] = ` { "cert": "", "key": "", @@ -523,9 +523,9 @@ exports[`server option as object should support the "requestCert" option should } `; -exports[`server option as object spdy server with options should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as object > spdy server with options > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as object spdy server with options should handle GET request to index route (/): https options 1`] = ` +exports[`server option > as object > spdy server with options > should handle GET request to index route (/) > https options 1`] = ` { "ca": [ "", @@ -550,55 +550,55 @@ exports[`server option as object spdy server with options should handle GET requ } `; -exports[`server option as object spdy server with options should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as object > spdy server with options > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as object spdy server with options should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as object > spdy server with options > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as object spdy server with options should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as object > spdy server with options > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as string custom-http should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as string > custom-http > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as string custom-http should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as string > custom-http > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as string custom-http should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as string > custom-http > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as string custom-http should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as string > custom-http > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as string http should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as string > http > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as string http should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as string > http > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as string http should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as string > http > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as string http should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as string > http > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as string https should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as string > https > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as string https should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as string > https > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as string https should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as string > https > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as string https should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as string > https > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; -exports[`server option as string spdy should handle GET request to index route (/): console messages 1`] = `[]`; +exports[`server option > as string > spdy > should handle GET request to index route (/) > console messages 1`] = `[]`; -exports[`server option as string spdy should handle GET request to index route (/): page errors 1`] = `[]`; +exports[`server option > as string > spdy > should handle GET request to index route (/) > page errors 1`] = `[]`; -exports[`server option as string spdy should handle GET request to index route (/): response status 1`] = `200`; +exports[`server option > as string > spdy > should handle GET request to index route (/) > response status 1`] = `200`; -exports[`server option as string spdy should handle GET request to index route (/): response text 1`] = ` +exports[`server option > as string > spdy > should handle GET request to index route (/) > response text 1`] = ` "Heyo. " `; diff --git a/tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5 b/tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5 index 79ceb12..3fd433e 100644 --- a/tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGINT: console messages 1`] = ` +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGINT > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,11 +8,11 @@ exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals sh ] `; -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGINT: page errors 1`] = `[]`; +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGINT > page errors 1`] = `[]`; -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGINT: response status 1`] = `200`; +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGINT > response status 1`] = `200`; -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGTERM: console messages 1`] = ` +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGTERM > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -20,6 +20,6 @@ exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals sh ] `; -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGTERM: page errors 1`] = `[]`; +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGTERM > page errors 1`] = `[]`; -exports[`setupExitSignals option should handle 'SIGINT' and 'SIGTERM' signals should close and exit on SIGTERM: response status 1`] = `200`; +exports[`setupExitSignals option > should handle 'SIGINT' and 'SIGTERM' signals > should close and exit on SIGTERM > response status 1`] = `200`; diff --git a/tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5 b/tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5 index c226990..4799c3f 100644 --- a/tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5 @@ -1,39 +1,39 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: console messages 1`] = `[]`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > console messages 1`] = `[]`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: page errors 1`] = `[]`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > page errors 1`] = `[]`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response headers content-type 2`] = `"text/html; charset=utf-8"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response headers content-type 2`] = `"text/html; charset=utf-8"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response headers content-type 3`] = `"text/html; charset=utf-8"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response headers content-type 3`] = `"text/html; charset=utf-8"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response headers content-type 4`] = `"text/html; charset=utf-8"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response headers content-type 4`] = `"text/html; charset=utf-8"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response status 1`] = `200`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response status 1`] = `200`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response status 2`] = `200`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response status 2`] = `200`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response status 3`] = `200`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response status 3`] = `200`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response status 4`] = `200`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response status 4`] = `200`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response text 1`] = `"setup-middlewares option GET"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response text 1`] = `"setup-middlewares option GET"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response text 2`] = `"Hello World with path!"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response text 2`] = `"Hello World with path!"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response text 3`] = `"Hello World without path!"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response text 3`] = `"Hello World without path!"`; -exports[`setupMiddlewares option should handle GET request to /setup-middleware/some/path route: response text 4`] = `"Hello World as function!"`; +exports[`setupMiddlewares option > should handle GET request to /setup-middleware/some/path route > response text 4`] = `"Hello World as function!"`; -exports[`setupMiddlewares option should handle POST request to /setup-middleware/some/path route: console messages 1`] = `[]`; +exports[`setupMiddlewares option > should handle POST request to /setup-middleware/some/path route > console messages 1`] = `[]`; -exports[`setupMiddlewares option should handle POST request to /setup-middleware/some/path route: page errors 1`] = `[]`; +exports[`setupMiddlewares option > should handle POST request to /setup-middleware/some/path route > page errors 1`] = `[]`; -exports[`setupMiddlewares option should handle POST request to /setup-middleware/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`; +exports[`setupMiddlewares option > should handle POST request to /setup-middleware/some/path route > response headers content-type 1`] = `"text/html; charset=utf-8"`; -exports[`setupMiddlewares option should handle POST request to /setup-middleware/some/path route: response status 1`] = `200`; +exports[`setupMiddlewares option > should handle POST request to /setup-middleware/some/path route > response status 1`] = `200`; -exports[`setupMiddlewares option should handle POST request to /setup-middleware/some/path route: response text 1`] = `"setup-middlewares option POST"`; +exports[`setupMiddlewares option > should handle POST request to /setup-middleware/some/path route > response text 1`] = `"setup-middlewares option POST"`; diff --git a/tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5 b/tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5 index 174cb1d..a46309a 100644 --- a/tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5 @@ -1,27 +1,27 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`static.directory option defaults to PWD should handle request to /index.html: console messages 1`] = `[]`; +exports[`static.directory option > defaults to PWD > should handle request to /index.html > console messages 1`] = `[]`; -exports[`static.directory option defaults to PWD should handle request to /index.html: page errors 1`] = `[]`; +exports[`static.directory option > defaults to PWD > should handle request to /index.html > page errors 1`] = `[]`; -exports[`static.directory option defaults to PWD should handle request to /index.html: response status 1`] = `200`; +exports[`static.directory option > defaults to PWD > should handle request to /index.html > response status 1`] = `200`; -exports[`static.directory option defaults to PWD should handle request to /index.html: response text 1`] = ` +exports[`static.directory option > defaults to PWD > should handle request to /index.html > response text 1`] = ` "Heyo. " `; -exports[`static.directory option disabled should not handle request to /other.html (404): console messages 1`] = ` +exports[`static.directory option > disabled > should not handle request to /other.html (404) > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.directory option disabled should not handle request to /other.html (404): page errors 1`] = `[]`; +exports[`static.directory option > disabled > should not handle request to /other.html (404) > page errors 1`] = `[]`; -exports[`static.directory option disabled should not handle request to /other.html (404): response status 1`] = `404`; +exports[`static.directory option > disabled > should not handle request to /other.html (404) > response status 1`] = `404`; -exports[`static.directory option disabled should not handle request to /other.html (404): response text 1`] = ` +exports[`static.directory option > disabled > should not handle request to /other.html (404) > response text 1`] = ` " @@ -35,34 +35,34 @@ exports[`static.directory option disabled should not handle request to /other.ht " `; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should list the files inside the assets folder (200): console messages 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > console messages 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should list the files inside the assets folder (200): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should list the files inside the assets folder (200): response status 1`] = `200`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > response status 1`] = `200`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.directory option test listing files in folders without index.html using the default static.serveIndex option (true) should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should not list the files inside the assets folder (404): console messages 1`] = ` +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should not list the files inside the assets folder (404): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should not list the files inside the assets folder (404): response status 1`] = `404`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > response status 1`] = `404`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should not list the files inside the assets folder (404): response text 1`] = ` +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > response text 1`] = ` " @@ -76,74 +76,74 @@ exports[`static.directory option test listing files in folders without index.htm " `; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): console messages 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > console messages 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): response status 1`] = `200`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > response status 1`] = `200`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.directory option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.directory option to directory should handle request to index route: console messages 1`] = `[]`; +exports[`static.directory option > to directory > should handle request to index route > console messages 1`] = `[]`; -exports[`static.directory option to directory should handle request to index route: page errors 1`] = `[]`; +exports[`static.directory option > to directory > should handle request to index route > page errors 1`] = `[]`; -exports[`static.directory option to directory should handle request to index route: response status 1`] = `200`; +exports[`static.directory option > to directory > should handle request to index route > response status 1`] = `200`; -exports[`static.directory option to directory should handle request to index route: response text 1`] = ` +exports[`static.directory option > to directory > should handle request to index route > response text 1`] = ` "Heyo. " `; -exports[`static.directory option to directory should handle request to other file: console messages 1`] = `[]`; +exports[`static.directory option > to directory > should handle request to other file > console messages 1`] = `[]`; -exports[`static.directory option to directory should handle request to other file: page errors 1`] = `[]`; +exports[`static.directory option > to directory > should handle request to other file > page errors 1`] = `[]`; -exports[`static.directory option to directory should handle request to other file: response status 1`] = `200`; +exports[`static.directory option > to directory > should handle request to other file > response status 1`] = `200`; -exports[`static.directory option to directory should handle request to other file: response text 1`] = ` +exports[`static.directory option > to directory > should handle request to other file > response text 1`] = ` "Other html " `; -exports[`static.directory option to multiple directories should handle request first directory: console messages 1`] = `[]`; +exports[`static.directory option > to multiple directories > should handle request first directory > console messages 1`] = `[]`; -exports[`static.directory option to multiple directories should handle request first directory: page errors 1`] = `[]`; +exports[`static.directory option > to multiple directories > should handle request first directory > page errors 1`] = `[]`; -exports[`static.directory option to multiple directories should handle request first directory: response status 1`] = `200`; +exports[`static.directory option > to multiple directories > should handle request first directory > response status 1`] = `200`; -exports[`static.directory option to multiple directories should handle request first directory: response text 1`] = ` +exports[`static.directory option > to multiple directories > should handle request first directory > response text 1`] = ` "Heyo. " `; -exports[`static.directory option to multiple directories should handle request to second directory: console messages 1`] = `[]`; +exports[`static.directory option > to multiple directories > should handle request to second directory > console messages 1`] = `[]`; -exports[`static.directory option to multiple directories should handle request to second directory: page errors 1`] = `[]`; +exports[`static.directory option > to multiple directories > should handle request to second directory > page errors 1`] = `[]`; -exports[`static.directory option to multiple directories should handle request to second directory: response status 1`] = `200`; +exports[`static.directory option > to multiple directories > should handle request to second directory > response status 1`] = `200`; -exports[`static.directory option to multiple directories should handle request to second directory: response text 1`] = ` +exports[`static.directory option > to multiple directories > should handle request to second directory > response text 1`] = ` "Foo! " `; diff --git a/tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5 b/tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5 index 3140335..07e4821 100644 --- a/tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5 @@ -1,192 +1,192 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`static.publicPath option Content type should handle request to example.txt: console messages 1`] = `[]`; +exports[`static.publicPath option > Content type > should handle request to example.txt > console messages 1`] = `[]`; -exports[`static.publicPath option Content type should handle request to example.txt: page errors 1`] = `[]`; +exports[`static.publicPath option > Content type > should handle request to example.txt > page errors 1`] = `[]`; -exports[`static.publicPath option Content type should handle request to example.txt: response header content-type 1`] = `"text/plain; charset=UTF-8"`; +exports[`static.publicPath option > Content type > should handle request to example.txt > response header content-type 1`] = `"text/plain; charset=UTF-8"`; -exports[`static.publicPath option Content type should handle request to example.txt: response status 1`] = `200`; +exports[`static.publicPath option > Content type > should handle request to example.txt > response status 1`] = `200`; -exports[`static.publicPath option defaults to CWD should handle request to page: console messages 1`] = `[]`; +exports[`static.publicPath option > defaults to CWD > should handle request to page > console messages 1`] = `[]`; -exports[`static.publicPath option defaults to CWD should handle request to page: page errors 1`] = `[]`; +exports[`static.publicPath option > defaults to CWD > should handle request to page > page errors 1`] = `[]`; -exports[`static.publicPath option defaults to CWD should handle request to page: response status 1`] = `200`; +exports[`static.publicPath option > defaults to CWD > should handle request to page > response status 1`] = `200`; -exports[`static.publicPath option defaults to CWD should handle request to page: response text 1`] = ` +exports[`static.publicPath option > defaults to CWD > should handle request to page > response text 1`] = ` "Heyo. " `; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the /foo route of second path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the /foo route of second path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the /foo route of second path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the /foo route of second path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the /foo route of second path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the /foo route of second path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the /foo route of second path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the /foo route of second path > response text 1`] = ` "Foo! " `; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the index of first path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the index of first path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the index of first path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the index of first path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the index of first path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the index of first path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the index of first path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the index of first path > response text 1`] = ` "Heyo. " `; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the other file of first path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the other file of first path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the other file of first path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the other file of first path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the other file of first path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the other file of first path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries should handle request to the other file of first path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries > should handle request to the other file of first path > response text 1`] = ` "Other html " `; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of first path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of first path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of first path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of first path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of first path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of first path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of first path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of first path > response text 1`] = ` "Foo! " `; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of second path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of second path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of second path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of second path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of second path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of second path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the /foo route of second path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the /foo route of second path > response text 1`] = ` "Foo! " `; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the index of first path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the index of first path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the index of first path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the index of first path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the index of first path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the index of first path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the index of first path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the index of first path > response text 1`] = ` "Heyo. " `; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the other file of first path: console messages 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the other file of first path > console messages 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the other file of first path: page errors 1`] = `[]`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the other file of first path > page errors 1`] = `[]`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the other file of first path: response status 1`] = `200`; +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the other file of first path > response status 1`] = `200`; -exports[`static.publicPath option multiple static.publicPath entries with publicPath array should handle request to the other file of first path: response text 1`] = ` +exports[`static.publicPath option > multiple static.publicPath entries with publicPath array > should handle request to the other file of first path > response text 1`] = ` "Other html " `; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle GET request: console messages 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle GET request > console messages 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle GET request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle GET request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle GET request: response status 1`] = `200`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle GET request > response status 1`] = `200`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle HEAD request: console messages 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle HEAD request > console messages 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle HEAD request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle HEAD request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should handle HEAD request: response status 1`] = `200`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should handle HEAD request > response status 1`] = `200`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle DELETE request: console messages 1`] = ` +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle DELETE request > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle DELETE request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle DELETE request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle DELETE request: response status 1`] = `404`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle DELETE request > response status 1`] = `404`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PATCH request: console messages 1`] = ` +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PATCH request > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PATCH request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PATCH request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PATCH request: response status 1`] = `404`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PATCH request > response status 1`] = `404`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle POST request: console messages 1`] = ` +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle POST request > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle POST request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle POST request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle POST request: response status 1`] = `404`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle POST request > response status 1`] = `404`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PUT request: console messages 1`] = ` +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PUT request > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PUT request: page errors 1`] = `[]`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PUT request > page errors 1`] = `[]`; -exports[`static.publicPath option should ignore methods other than GET and HEAD should not handle PUT request: response status 1`] = `404`; +exports[`static.publicPath option > should ignore methods other than GET and HEAD > should not handle PUT request > response status 1`] = `404`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should list the files inside the assets folder (200): console messages 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should list the files inside the assets folder (200) > console messages 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should list the files inside the assets folder (200): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should list the files inside the assets folder (200) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should list the files inside the assets folder (200): response status 1`] = `200`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should list the files inside the assets folder (200) > response status 1`] = `200`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex default (true) should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex default (true) > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false shouldn't list the files inside the assets folder (404): console messages 1`] = ` +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > shouldn't list the files inside the assets folder (404) > console messages 1`] = ` [ "Failed to load resource: the server responded with a status of 404 (Not Found)", ] `; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false shouldn't list the files inside the assets folder (404): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > shouldn't list the files inside the assets folder (404) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false shouldn't list the files inside the assets folder (404): response status 1`] = `404`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > shouldn't list the files inside the assets folder (404) > response status 1`] = `404`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: false shouldn't list the files inside the assets folder (404): response text 1`] = ` +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: false > shouldn't list the files inside the assets folder (404) > response text 1`] = ` " @@ -200,63 +200,63 @@ exports[`static.publicPath option test listing files in folders without index.ht " `; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): console messages 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > console messages 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should list the files inside the assets folder (200): response status 1`] = `200`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > response status 1`] = `200`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): console messages 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): page errors 1`] = `[]`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): response status 1`] = `200`; +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`; -exports[`static.publicPath option test listing files in folders without index.html using the option static.serveIndex: true should show Heyo. because bar has index.html inside it (200): response text 1`] = ` +exports[`static.publicPath option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response text 1`] = ` "Heyo " `; -exports[`static.publicPath option to directory should handle request to index: console messages 1`] = `[]`; +exports[`static.publicPath option > to directory > should handle request to index > console messages 1`] = `[]`; -exports[`static.publicPath option to directory should handle request to index: page errors 1`] = `[]`; +exports[`static.publicPath option > to directory > should handle request to index > page errors 1`] = `[]`; -exports[`static.publicPath option to directory should handle request to index: response status 1`] = `200`; +exports[`static.publicPath option > to directory > should handle request to index > response status 1`] = `200`; -exports[`static.publicPath option to directory should handle request to index: response text 1`] = ` +exports[`static.publicPath option > to directory > should handle request to index > response text 1`] = ` "Heyo. " `; -exports[`static.publicPath option to directory should handle request to other file: console messages 1`] = `[]`; +exports[`static.publicPath option > to directory > should handle request to other file > console messages 1`] = `[]`; -exports[`static.publicPath option to directory should handle request to other file: page errors 1`] = `[]`; +exports[`static.publicPath option > to directory > should handle request to other file > page errors 1`] = `[]`; -exports[`static.publicPath option to directory should handle request to other file: response status 1`] = `200`; +exports[`static.publicPath option > to directory > should handle request to other file > response status 1`] = `200`; -exports[`static.publicPath option to directory should handle request to other file: response text 1`] = ` +exports[`static.publicPath option > to directory > should handle request to other file > response text 1`] = ` "Other html " `; -exports[`static.publicPath option to multiple directories should handle request to first directory: console messages 1`] = `[]`; +exports[`static.publicPath option > to multiple directories > should handle request to first directory > console messages 1`] = `[]`; -exports[`static.publicPath option to multiple directories should handle request to first directory: page errors 1`] = `[]`; +exports[`static.publicPath option > to multiple directories > should handle request to first directory > page errors 1`] = `[]`; -exports[`static.publicPath option to multiple directories should handle request to first directory: response status 1`] = `200`; +exports[`static.publicPath option > to multiple directories > should handle request to first directory > response status 1`] = `200`; -exports[`static.publicPath option to multiple directories should handle request to first directory: response text 1`] = ` +exports[`static.publicPath option > to multiple directories > should handle request to first directory > response text 1`] = ` "Heyo. " `; -exports[`static.publicPath option to multiple directories should handle request to second directory: console messages 1`] = `[]`; +exports[`static.publicPath option > to multiple directories > should handle request to second directory > console messages 1`] = `[]`; -exports[`static.publicPath option to multiple directories should handle request to second directory: page errors 1`] = `[]`; +exports[`static.publicPath option > to multiple directories > should handle request to second directory > page errors 1`] = `[]`; -exports[`static.publicPath option to multiple directories should handle request to second directory: response status 1`] = `200`; +exports[`static.publicPath option > to multiple directories > should handle request to second directory > response status 1`] = `200`; -exports[`static.publicPath option to multiple directories should handle request to second directory: response text 1`] = ` +exports[`static.publicPath option > to multiple directories > should handle request to second directory > response text 1`] = ` "Foo! " `; diff --git a/tests/e2e/__snapshots__/stats.test.js.snap.webpack5 b/tests/e2e/__snapshots__/stats.test.js.snap.webpack5 index 7d40670..a1a1745 100644 --- a/tests/e2e/__snapshots__/stats.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/stats.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`stats should work and respect the "ignoreWarnings" option 1`] = ` +exports[`stats > should work and respect the "ignoreWarnings" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -8,7 +8,7 @@ exports[`stats should work and respect the "ignoreWarnings" option 1`] = ` ] `; -exports[`stats should work using "{ assets: false }" value for the "stats" option 1`] = ` +exports[`stats > should work using "{ assets: false }" value for the "stats" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -16,7 +16,7 @@ exports[`stats should work using "{ assets: false }" value for the "stats" optio ] `; -exports[`stats should work using "{}" value for the "stats" option 1`] = ` +exports[`stats > should work using "{}" value for the "stats" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -24,7 +24,7 @@ exports[`stats should work using "{}" value for the "stats" option 1`] = ` ] `; -exports[`stats should work using "errors-only" value for the "stats" option 1`] = ` +exports[`stats > should work using "errors-only" value for the "stats" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -32,7 +32,7 @@ exports[`stats should work using "errors-only" value for the "stats" option 1`] ] `; -exports[`stats should work using "false" value for the "stats" option 1`] = ` +exports[`stats > should work using "false" value for the "stats" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -40,7 +40,7 @@ exports[`stats should work using "false" value for the "stats" option 1`] = ` ] `; -exports[`stats should work using "undefined" value for the "stats" option 1`] = ` +exports[`stats > should work using "undefined" value for the "stats" option 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -48,7 +48,7 @@ exports[`stats should work using "undefined" value for the "stats" option 1`] = ] `; -exports[`stats should work when "stats" is not specified 1`] = ` +exports[`stats > should work when "stats" is not specified 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", diff --git a/tests/e2e/__snapshots__/target.test.js.snap.webpack5 b/tests/e2e/__snapshots__/target.test.js.snap.webpack5 index a5d2240..8effcbb 100644 --- a/tests/e2e/__snapshots__/target.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/target.test.js.snap.webpack5 @@ -1,13 +1,13 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`target should work using "async-node" target: console messages 1`] = ` +exports[`target > should work using "async-node" target > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "Hey.", ] `; -exports[`target should work using "browserslist:defaults" target: console messages 1`] = ` +exports[`target > should work using "browserslist:defaults" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -15,14 +15,14 @@ exports[`target should work using "browserslist:defaults" target: console messag ] `; -exports[`target should work using "electron-main" target: console messages 1`] = ` +exports[`target > should work using "electron-main" target > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "Hey.", ] `; -exports[`target should work using "electron-preload" target: console messages 1`] = ` +exports[`target > should work using "electron-preload" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -30,30 +30,30 @@ exports[`target should work using "electron-preload" target: console messages 1` ] `; -exports[`target should work using "electron-renderer" target: console messages 1`] = `[]`; +exports[`target > should work using "electron-renderer" target > console messages 1`] = `[]`; -exports[`target should work using "es5" target: console messages 1`] = ` +exports[`target > should work using "es5" target > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "Hey.", ] `; -exports[`target should work using "false" target: console messages 1`] = ` +exports[`target > should work using "false" target > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "Hey.", ] `; -exports[`target should work using "node" target: console messages 1`] = ` +exports[`target > should work using "node" target > console messages 1`] = ` [ "[HMR] Waiting for update signal from WDS...", "Hey.", ] `; -exports[`target should work using "node-webkit" target: console messages 1`] = ` +exports[`target > should work using "node-webkit" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -61,7 +61,7 @@ exports[`target should work using "node-webkit" target: console messages 1`] = ` ] `; -exports[`target should work using "nwjs" target: console messages 1`] = ` +exports[`target > should work using "nwjs" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -69,7 +69,7 @@ exports[`target should work using "nwjs" target: console messages 1`] = ` ] `; -exports[`target should work using "web" target: console messages 1`] = ` +exports[`target > should work using "web" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -77,7 +77,7 @@ exports[`target should work using "web" target: console messages 1`] = ` ] `; -exports[`target should work using "web,es5" target: console messages 1`] = ` +exports[`target > should work using "web,es5" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -85,7 +85,7 @@ exports[`target should work using "web,es5" target: console messages 1`] = ` ] `; -exports[`target should work using "webworker" target: console messages 1`] = ` +exports[`target > should work using "webworker" target > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -93,8 +93,10 @@ exports[`target should work using "webworker" target: console messages 1`] = ` ] `; -exports[`target should work using multi compiler mode with \`web\` and \`webworker\` targets with \`devServer: false\`: console messages 1`] = ` +exports[`target > should work using multi compiler mode with \`web\` and \`webworker\` targets > console messages 1`] = ` [ + "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", + "[HMR] Waiting for update signal from WDS...", "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", "Worker said: I'm working before postMessage", @@ -102,12 +104,10 @@ exports[`target should work using multi compiler mode with \`web\` and \`webwork ] `; -exports[`target should work using multi compiler mode with \`web\` and \`webworker\` targets with \`devServer: false\`: page errors 1`] = `[]`; +exports[`target > should work using multi compiler mode with \`web\` and \`webworker\` targets > page errors 1`] = `[]`; -exports[`target should work using multi compiler mode with \`web\` and \`webworker\` targets: console messages 1`] = ` +exports[`target > should work using multi compiler mode with \`web\` and \`webworker\` targets with \`devServer: false\` > console messages 1`] = ` [ - "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", - "[HMR] Waiting for update signal from WDS...", "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", "Worker said: I'm working before postMessage", @@ -115,4 +115,4 @@ exports[`target should work using multi compiler mode with \`web\` and \`webwork ] `; -exports[`target should work using multi compiler mode with \`web\` and \`webworker\` targets: page errors 1`] = `[]`; +exports[`target > should work using multi compiler mode with \`web\` and \`webworker\` targets with \`devServer: false\` > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5 b/tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5 index 6937deb..08ead20 100644 --- a/tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5 @@ -1,6 +1,6 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`web socket communication should work and close web socket client connection when web socket server closed ("sockjs"): console messages 1`] = ` +exports[`web socket communication > should work and close web socket client connection when web socket server closed ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -10,9 +10,9 @@ exports[`web socket communication should work and close web socket client connec ] `; -exports[`web socket communication should work and close web socket client connection when web socket server closed ("sockjs"): page errors 1`] = `[]`; +exports[`web socket communication > should work and close web socket client connection when web socket server closed ("sockjs") > page errors 1`] = `[]`; -exports[`web socket communication should work and close web socket client connection when web socket server closed ("ws"): console messages 1`] = ` +exports[`web socket communication > should work and close web socket client connection when web socket server closed ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -22,9 +22,9 @@ exports[`web socket communication should work and close web socket client connec ] `; -exports[`web socket communication should work and close web socket client connection when web socket server closed ("ws"): page errors 1`] = `[]`; +exports[`web socket communication > should work and close web socket client connection when web socket server closed ("ws") > page errors 1`] = `[]`; -exports[`web socket communication should work and reconnect when the connection is lost ("sockjs"): console messages 1`] = ` +exports[`web socket communication > should work and reconnect when the connection is lost ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -40,9 +40,9 @@ exports[`web socket communication should work and reconnect when the connection ] `; -exports[`web socket communication should work and reconnect when the connection is lost ("sockjs"): page errors 1`] = `[]`; +exports[`web socket communication > should work and reconnect when the connection is lost ("sockjs") > page errors 1`] = `[]`; -exports[`web socket communication should work and reconnect when the connection is lost ("ws"): console messages 1`] = ` +exports[`web socket communication > should work and reconnect when the connection is lost ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -58,9 +58,9 @@ exports[`web socket communication should work and reconnect when the connection ] `; -exports[`web socket communication should work and reconnect when the connection is lost ("ws"): page errors 1`] = `[]`; +exports[`web socket communication > should work and reconnect when the connection is lost ("ws") > page errors 1`] = `[]`; -exports[`web socket communication should work and terminate client that is not alive ("sockjs"): console messages 1`] = ` +exports[`web socket communication > should work and terminate client that is not alive ("sockjs") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -68,9 +68,9 @@ exports[`web socket communication should work and terminate client that is not a ] `; -exports[`web socket communication should work and terminate client that is not alive ("sockjs"): page errors 1`] = `[]`; +exports[`web socket communication > should work and terminate client that is not alive ("sockjs") > page errors 1`] = `[]`; -exports[`web socket communication should work and terminate client that is not alive ("ws"): console messages 1`] = ` +exports[`web socket communication > should work and terminate client that is not alive ("ws") > console messages 1`] = ` [ "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", @@ -78,4 +78,4 @@ exports[`web socket communication should work and terminate client that is not a ] `; -exports[`web socket communication should work and terminate client that is not alive ("ws"): page errors 1`] = `[]`; +exports[`web socket communication > should work and terminate client that is not alive ("ws") > page errors 1`] = `[]`; diff --git a/tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5 b/tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5 index 2efd0f3..08b3db0 100644 --- a/tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5 @@ -1,9 +1,9 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Rstest Snapshot v1 -exports[`web socket server should work allow to disable: console messages 1`] = ` +exports[`web socket server > should work allow to disable > console messages 1`] = ` [ "Hey.", ] `; -exports[`web socket server should work allow to disable: page errors 1`] = `[]`; +exports[`web socket server > should work allow to disable > page errors 1`] = `[]`; diff --git a/tests/e2e/api.test.js b/tests/e2e/api.test.js index 3e87f5d..565ae94 100644 --- a/tests/e2e/api.test.js +++ b/tests/e2e/api.test.js @@ -17,7 +17,7 @@ describe('API', () => { beforeEach(async () => { // this is important - it clears the cache - jest.resetModules(); + rstest.resetModules(); process.env = { ...OLD_ENV }; @@ -307,7 +307,7 @@ describe('API', () => { }); it('should use the default `noop` callback when invalidate is called without any callback', async () => { - const callback = jest.fn(); + const callback = rstest.fn(); server.invalidate(); server.middleware.context.callbacks[0] = callback; @@ -326,7 +326,7 @@ describe('API', () => { }); it('should use the provided `callback` function', async () => { - const callback = jest.fn(); + const callback = rstest.fn(); server.invalidate(callback); @@ -606,20 +606,16 @@ describe('API', () => { }); it("should throw the error when the port isn't found", async () => { - expect.assertions(1); - - jest.mock( + rs.doMockRequire( '../../dist/getPort', () => () => Promise.reject(new Error('busy')), ); process.env.WEBPACK_DEV_SERVER_PORT_RETRY = 1; - try { - await Server.getFreePort(); - } catch (error) { - expect(error.message).toMatchSnapshot(); - } + const { RspackDevServer: Server } = require('@rspack/dev-server'); + + await expect(Server.getFreePort()).rejects.toThrowErrorMatchingSnapshot(); }); }); diff --git a/tests/e2e/bonjour.test.js b/tests/e2e/bonjour.test.js index e18f7b5..8bc41e1 100644 --- a/tests/e2e/bonjour.test.js +++ b/tests/e2e/bonjour.test.js @@ -11,11 +11,11 @@ describe('bonjour option', () => { let mockDestroy; beforeEach(() => { - mockPublish = jest.fn(); - mockUnpublishAll = jest.fn((callback) => { + mockPublish = rstest.fn(); + mockUnpublishAll = rstest.fn((callback) => { callback(); }); - mockDestroy = jest.fn(); + mockDestroy = rstest.fn(); }); describe('as true', () => { @@ -27,9 +27,9 @@ describe('bonjour option', () => { let consoleMessages; beforeEach(async () => { - jest.mock('bonjour-service', () => { + rs.doMockRequire('bonjour-service', () => { return { - Bonjour: jest.fn().mockImplementation(() => { + Bonjour: rs.fn().mockImplementation(() => { return { publish: mockPublish, unpublishAll: mockUnpublishAll, @@ -104,9 +104,9 @@ describe('bonjour option', () => { let consoleMessages; beforeEach(async () => { - jest.mock('bonjour-service', () => { + rs.doMockRequire('bonjour-service', () => { return { - Bonjour: jest.fn().mockImplementation(() => { + Bonjour: rs.fn().mockImplementation(() => { return { publish: mockPublish, unpublishAll: mockUnpublishAll, @@ -177,9 +177,9 @@ describe('bonjour option', () => { let consoleMessages; beforeEach(async () => { - jest.mock('bonjour-service', () => { + rs.doMockRequire('bonjour-service', () => { return { - Bonjour: jest.fn().mockImplementation(() => { + Bonjour: rs.fn().mockImplementation(() => { return { publish: mockPublish, unpublishAll: mockUnpublishAll, @@ -260,9 +260,9 @@ describe('bonjour option', () => { let consoleMessages; beforeEach(async () => { - jest.mock('bonjour-service', () => { + rs.doMockRequire('bonjour-service', () => { return { - Bonjour: jest.fn().mockImplementation(() => { + Bonjour: rs.fn().mockImplementation(() => { return { publish: mockPublish, unpublishAll: mockUnpublishAll, diff --git a/tests/e2e/history-api-fallback.test.js b/tests/e2e/history-api-fallback.test.js index 8211e20..78515bb 100644 --- a/tests/e2e/history-api-fallback.test.js +++ b/tests/e2e/history-api-fallback.test.js @@ -436,7 +436,7 @@ describe('historyApiFallback option', () => { let consoleSpy; beforeEach(async () => { - consoleSpy = jest.spyOn(global.console, 'log'); + consoleSpy = rstest.spyOn(global.console, 'log'); compiler = webpack(config); @@ -512,7 +512,7 @@ describe('historyApiFallback option', () => { let consoleSpy; beforeEach(async () => { - consoleSpy = jest.spyOn(global.console, 'log'); + consoleSpy = rstest.spyOn(global.console, 'log'); compiler = webpack(config); diff --git a/tests/e2e/hot-and-live-reload.test.js b/tests/e2e/hot-and-live-reload.test.js index 3cb9161..c7b176d 100644 --- a/tests/e2e/hot-and-live-reload.test.js +++ b/tests/e2e/hot-and-live-reload.test.js @@ -712,9 +712,9 @@ describe('hot and live reload', () => { // plugins: [...config.plugins, new webpack.HotModuleReplacementPlugin()], // }); -// loggerWarnSpy = jest.fn(); +// loggerWarnSpy = rstest.fn(); -// getInfrastructureLoggerSpy = jest +// getInfrastructureLoggerSpy = rstest // .spyOn(compiler, "getInfrastructureLogger") // .mockImplementation(() => { // return { diff --git a/tests/e2e/lazy-compilation.test.js b/tests/e2e/lazy-compilation.test.js index 36d838d..0a8c13a 100644 --- a/tests/e2e/lazy-compilation.test.js +++ b/tests/e2e/lazy-compilation.test.js @@ -6,7 +6,8 @@ const runBrowser = require('../helpers/run-browser'); const port = require('../helpers/ports-map')['lazy-compilation']; describe('lazy compilation', () => { - // TODO jest freeze due webpack do not close `eventsource`, we should uncomment this after fix it on webpack side + // TODO test run can freeze because webpack does not close `eventsource`; + // uncomment after it is fixed on webpack side it.skip('should work with single entry', async () => { const compiler = webpack(lazyCompilationSingleEntryConfig); const server = new Server({ port }, compiler); diff --git a/tests/e2e/overlay.test.js b/tests/e2e/overlay.test.js index 5e2a9cc..7f2678a 100644 --- a/tests/e2e/overlay.test.js +++ b/tests/e2e/overlay.test.js @@ -69,6 +69,9 @@ let prettierHTML; let prettierCSS; describe('overlay', () => { + const mockLaunchEditorCb = rstest.fn(); + rs.doMockRequire('launch-editor', () => mockLaunchEditorCb); + beforeAll(async () => { // Due problems with ESM modules for Node.js@18 // TODO replace it on import/require when Node.js@18 will be dropped @@ -330,6 +333,12 @@ describe('overlay', () => { const { page, browser } = await runBrowser(); + const pathToFile = path.resolve( + __dirname, + '../fixtures/overlay-config/foo.js', + ); + const originalCode = fs.readFileSync(pathToFile); + try { await page.goto(`http://localhost:${port}/`, { waitUntil: 'networkidle0', @@ -346,12 +355,6 @@ describe('overlay', () => { }), ).toMatchSnapshot('page html initial'); - const pathToFile = path.resolve( - __dirname, - '../fixtures/overlay-config/foo.js', - ); - const originalCode = fs.readFileSync(pathToFile); - fs.writeFileSync(pathToFile, '`;'); await page.waitForSelector('#webpack-dev-server-client-overlay'); @@ -383,7 +386,9 @@ describe('overlay', () => { hidden: true, }); - pageHtml = await page.evaluate(() => document.body.outerHTML); + await waitForExpect(async () => { + pageHtml = await page.evaluate(() => document.body.outerHTML); + }); overlayHandle = await page.$('#webpack-dev-server-client-overlay'); expect(overlayHandle).toBe(null); @@ -394,6 +399,7 @@ describe('overlay', () => { }), ).toMatchSnapshot('page html after fix error'); } finally { + fs.writeFileSync(pathToFile, originalCode); await browser.close(); await server.stop(); } @@ -594,8 +600,8 @@ describe('overlay', () => { }); it('should open editor when error with file info is clicked', async () => { - const mockLaunchEditorCb = jest.fn(); - jest.mock('launch-editor', () => mockLaunchEditorCb); + mockLaunchEditorCb.mockClear(); + const { RspackDevServer: Server } = require('@rspack/dev-server'); const compiler = webpack(config); const devServerOptions = { @@ -607,17 +613,17 @@ describe('overlay', () => { const { page, browser } = await runBrowser(); + const pathToFile = path.resolve( + __dirname, + '../fixtures/overlay-config/foo.js', + ); + const originalCode = fs.readFileSync(pathToFile); + try { await page.goto(`http://localhost:${port}/`, { waitUntil: 'networkidle0', }); - const pathToFile = path.resolve( - __dirname, - '../fixtures/overlay-config/foo.js', - ); - const originalCode = fs.readFileSync(pathToFile); - fs.writeFileSync(pathToFile, '`;'); await page.waitForSelector('#webpack-dev-server-client-overlay'); @@ -633,9 +639,8 @@ describe('overlay', () => { await waitForExpect(() => { expect(mockLaunchEditorCb).toHaveBeenCalledTimes(1); }); - - fs.writeFileSync(pathToFile, originalCode); } finally { + fs.writeFileSync(pathToFile, originalCode); await browser.close(); await server.stop(); } diff --git a/tests/e2e/server.test.js b/tests/e2e/server.test.js index 93932b3..7ffe252 100644 --- a/tests/e2e/server.test.js +++ b/tests/e2e/server.test.js @@ -285,7 +285,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -327,8 +327,8 @@ describe('server option', () => { afterEach(async () => { createServerSpy.mockRestore(); - await browser.close(); - await server.stop(); + browser && (await browser.close()); + server && (await server.stop()); }); it('should handle GET request to index route (/)', async () => { @@ -368,7 +368,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -459,7 +459,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -548,7 +548,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -646,7 +646,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -721,7 +721,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -800,7 +800,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -873,7 +873,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -956,7 +956,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -1047,7 +1047,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -1143,7 +1143,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -1225,7 +1225,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(https, 'createServer'); + createServerSpy = rstest.spyOn(https, 'createServer'); server = new Server( { @@ -1291,7 +1291,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(spdy, 'createServer'); + createServerSpy = rstest.spyOn(spdy, 'createServer'); server = new Server( { @@ -1372,7 +1372,7 @@ describe('server option', () => { beforeEach(async () => { compiler = webpack(config); - createServerSpy = jest.spyOn(customHTTP, 'createServer'); + createServerSpy = rstest.spyOn(customHTTP, 'createServer'); server = new Server( { diff --git a/tests/e2e/setup-exit-signals.test.js b/tests/e2e/setup-exit-signals.test.js index e926a7d..f8b3192 100644 --- a/tests/e2e/setup-exit-signals.test.js +++ b/tests/e2e/setup-exit-signals.test.js @@ -39,18 +39,18 @@ describe('setupExitSignals option', () => { consoleMessages = []; doExit = false; - exitSpy = jest.spyOn(process, 'exit').mockImplementation(() => { + exitSpy = rstest.spyOn(process, 'exit').mockImplementation(() => { doExit = true; }); - stdinResumeSpy = jest + stdinResumeSpy = rstest .spyOn(process.stdin, 'resume') .mockImplementation(() => {}); - stopCallbackSpy = jest.spyOn(server, 'stopCallback'); + stopCallbackSpy = rstest.spyOn(server, 'stopCallback'); if (server.compiler.close) { - closeCallbackSpy = jest.spyOn(server.compiler, 'close'); + closeCallbackSpy = rstest.spyOn(server.compiler, 'close'); } }); diff --git a/tests/e2e/static-directory.test.js b/tests/e2e/static-directory.test.js index fdb5f03..ba65511 100644 --- a/tests/e2e/static-directory.test.js +++ b/tests/e2e/static-directory.test.js @@ -98,36 +98,39 @@ describe('static.directory option', () => { expect(pageErrors).toMatchSnapshot('page errors'); }); - it('Watches folder recursively', (done) => { - // chokidar emitted a change, - // meaning it watched the file correctly - server.staticWatchers[0].on('change', () => { - done(); - }); + it('Watches folder recursively', async () => { + await new Promise((resolve) => { + // chokidar emitted a change, + // meaning it watched the file correctly + server.staticWatchers[0].once('change', () => { + resolve(); + }); - // change a file manually - setTimeout(() => { - fs.writeFileSync(nestedFile, 'Heyo', 'utf8'); - }, 1000); + // change a file manually + setTimeout(() => { + fs.writeFileSync(nestedFile, 'Heyo', 'utf8'); + }, 1000); + }); }); - it('Watches node_modules', (done) => { + it('Watches node_modules', async () => { const filePath = path.join(publicDirectory, 'node_modules', 'index.html'); fs.writeFileSync(filePath, 'foo', 'utf8'); - // chokidar emitted a change, - // meaning it watched the file correctly - server.staticWatchers[0].on('change', () => { - fs.unlinkSync(filePath); + await new Promise((resolve) => { + // chokidar emitted a change, + // meaning it watched the file correctly + server.staticWatchers[0].once('change', () => { + fs.unlinkSync(filePath); + resolve(); + }); - done(); + // change a file manually + setTimeout(() => { + fs.writeFileSync(filePath, 'bar', 'utf8'); + }, 1000); }); - - // change a file manually - setTimeout(() => { - fs.writeFileSync(filePath, 'bar', 'utf8'); - }, 1000); }); }); @@ -475,92 +478,129 @@ describe('static.directory option', () => { describe('testing single & multiple external paths', () => { let server; - afterEach((done) => { - testServer.close(() => { - done(); + afterEach(async () => { + await new Promise((resolve) => { + testServer.close(resolve); }); }); - it('Should throw exception (external url)', (done) => { + it('Should throw exception (external url)', async () => { expect.assertions(1); - server = testServer.start( - config, - { - static: 'https://example.com/', - }, - (error) => { - expect(error.message).toBe( - 'Using a URL as static.directory is not supported', - ); - - server.stopCallback(done); - }, - ); + await new Promise((resolve, reject) => { + server = testServer.start( + config, + { + static: 'https://example.com/', + }, + (error) => { + try { + expect(error.message).toBe( + 'Using a URL as static.directory is not supported', + ); + + server.stopCallback(resolve); + } catch (e) { + reject(e); + } + }, + ); + }); }); - it('Should not throw exception (local path with lower case first character)', (done) => { - testServer.start( - config, - { - static: { - directory: - publicDirectory.charAt(0).toLowerCase() + - publicDirectory.substring(1), - watch: true, + it('Should not throw exception (local path with lower case first character)', async () => { + await new Promise((resolve, reject) => { + testServer.start( + config, + { + static: { + directory: + publicDirectory.charAt(0).toLowerCase() + + publicDirectory.substring(1), + watch: true, + }, + port, }, - port, - }, - done, - ); + (error) => { + if (error) { + reject(error); + return; + } + resolve(); + }, + ); + }); }); - it("Should not throw exception (local path with lower case first character & has '-')", (done) => { - testServer.start( - config, - { - static: { - directory: 'c:\\absolute\\path\\to\\content-base', - watch: true, + it("Should not throw exception (local path with lower case first character & has '-')", async () => { + await new Promise((resolve, reject) => { + testServer.start( + config, + { + static: { + directory: 'c:\\absolute\\path\\to\\content-base', + watch: true, + }, + port, }, - port, - }, - done, - ); + (error) => { + if (error) { + reject(error); + return; + } + resolve(); + }, + ); + }); }); - it("Should not throw exception (local path with upper case first character & has '-')", (done) => { - testServer.start( - config, - { - static: { - directory: 'C:\\absolute\\path\\to\\content-base', - watch: true, + it("Should not throw exception (local path with upper case first character & has '-')", async () => { + await new Promise((resolve, reject) => { + testServer.start( + config, + { + static: { + directory: 'C:\\absolute\\path\\to\\content-base', + watch: true, + }, + port, }, - port, - }, - done, - ); + (error) => { + if (error) { + reject(error); + return; + } + resolve(); + }, + ); + }); }); - it('Should throw exception (array with absolute url)', (done) => { - server = testServer.start( - config, - { - static: [publicDirectory, 'https://example.com/'], - }, - (error) => { - expect(error.message).toBe( - 'Using a URL as static.directory is not supported', - ); - - server.stopCallback(done); - }, - ); + it('Should throw exception (array with absolute url)', async () => { + await new Promise((resolve, reject) => { + server = testServer.start( + config, + { + static: [publicDirectory, 'https://example.com/'], + }, + (error) => { + try { + expect(error.message).toBe( + 'Using a URL as static.directory is not supported', + ); + + server.stopCallback(resolve); + } catch (e) { + reject(e); + } + }, + ); + }); }); }); describe('defaults to PWD', () => { + let cwdSpy; let compiler; let server; let page; @@ -569,7 +609,7 @@ describe('static.directory option', () => { let consoleMessages; beforeEach(async () => { - jest + cwdSpy = rstest .spyOn(process, 'cwd') .mockImplementation(() => path.resolve(staticDirectory)); compiler = webpack(config); @@ -592,6 +632,7 @@ describe('static.directory option', () => { }); afterEach(async () => { + cwdSpy.mockRestore(); await browser.close(); await server.stop(); }); @@ -632,7 +673,7 @@ describe('static.directory option', () => { beforeEach(async () => { // This is a somewhat weird test, but it is important that we mock // the PWD here, and test if /other.html in our "fake" PWD really is not requested. - jest.spyOn(process, 'cwd').mockImplementation(() => publicDirectory); + rstest.spyOn(process, 'cwd').mockImplementation(() => publicDirectory); compiler = webpack(config); diff --git a/tests/e2e/static-public-path.test.js b/tests/e2e/static-public-path.test.js index 2c84540..841ac87 100644 --- a/tests/e2e/static-public-path.test.js +++ b/tests/e2e/static-public-path.test.js @@ -485,7 +485,7 @@ describe('static.publicPath option', () => { let consoleMessages; beforeEach(async () => { - cwdSpy = jest + cwdSpy = rstest .spyOn(process, 'cwd') .mockImplementation(() => staticDirectory); diff --git a/tests/e2e/stats.test.js b/tests/e2e/stats.test.js index 7af8303..96ebb0a 100644 --- a/tests/e2e/stats.test.js +++ b/tests/e2e/stats.test.js @@ -5,7 +5,7 @@ const HTMLGeneratorPlugin = require('../helpers/html-generator-plugin'); const runBrowser = require('../helpers/run-browser'); const port = require('../helpers/ports-map').stats; -global.console.log = jest.fn(); +global.console.log = rstest.fn(); describe('stats', () => { const cases = [ diff --git a/tests/e2e/watch-files.test.js b/tests/e2e/watch-files.test.js index 13dc3b3..c6d210b 100644 --- a/tests/e2e/watch-files.test.js +++ b/tests/e2e/watch-files.test.js @@ -554,7 +554,7 @@ describe('watchFiles option', () => { describe('should work with options', () => { const file = path.join(watchDir, 'assets/example.txt'); - const chokidarMock = jest.spyOn(chokidar, 'watch'); + const chokidarMock = rstest.spyOn(chokidar, 'watch'); const optionCases = [ { diff --git a/tests/e2e/web-socket-communication.test.js b/tests/e2e/web-socket-communication.test.js index 24e171c..46eb7d9 100644 --- a/tests/e2e/web-socket-communication.test.js +++ b/tests/e2e/web-socket-communication.test.js @@ -6,7 +6,7 @@ const config = require('../fixtures/client-config/webpack.config'); const runBrowser = require('../helpers/run-browser'); const port = require('../helpers/ports-map')['web-socket-communication']; -jest.setTimeout(60000); +rstest.setConfig({ testTimeout: 60_000 }); describe('web socket communication', () => { const webSocketServers = ['ws', 'sockjs']; diff --git a/tests/helpers/global-setup-test.js b/tests/helpers/global-setup-test.js index 639a5db..38bf242 100644 --- a/tests/helpers/global-setup-test.js +++ b/tests/helpers/global-setup-test.js @@ -5,32 +5,3 @@ const ports = require('./ports-map'); // eslint-disable-next-line no-console console.log(`\n Running tests for webpack @${webpackVersion} \n`); - -async function validatePorts() { - const samples = []; - - for (const key of Object.keys(ports)) { - const value = ports[key]; - const arr = Array.isArray(value) ? value : [value]; - - for (const port of arr) { - const check = tcpPortUsed.check(port, 'localhost').then((inUse) => { - if (inUse) { - throw new Error(`${port} has already used. [${key}]`); - } - }); - - samples.push(check); - } - } - - try { - await Promise.all(samples); - } catch (e) { - // eslint-disable-next-line no-console - console.error(e); - process.exit(1); - } -} - -module.exports = validatePorts; diff --git a/tests/helpers/normalize.js b/tests/helpers/normalize.js index 0f948e7..893a20b 100644 --- a/tests/helpers/normalize.js +++ b/tests/helpers/normalize.js @@ -12,12 +12,6 @@ const RELATIVE_CSS_LOADER = path.relative( ); const RSPACK = path.dirname(require.resolve('@rspack/core/package.json')); -const rspack = require('@rspack/core'); -const RSPACK_MODULE = require.cache[require.resolve('@rspack/core')]; -const TAPABLE = path.dirname( - RSPACK_MODULE.require.resolve('@rspack/lite-tapable'), -); - const normalize = (str) => { let normalizedStr = str.replace(/(\\)+/g, '/'); @@ -37,10 +31,6 @@ const normalize = (str) => { .split(RELATIVE_CSS_LOADER.replace(/(\\)+/g, '/')) .join(''); - normalizedStr = normalizedStr - .split(TAPABLE.replace(/(\\)+/g, '/')) - .join(''); - normalizedStr = normalizedStr .split(ROOT.replace(/(\\)+/g, '/')) .join(''); diff --git a/tests/helpers/sequencer.js b/tests/helpers/sequencer.js deleted file mode 100644 index b59264d..0000000 --- a/tests/helpers/sequencer.js +++ /dev/null @@ -1,10 +0,0 @@ -const Sequencer = require('@jest/test-sequencer').default; - -class NamedSequencer extends Sequencer { - sort(tests) { - const copyTests = [...tests]; - return copyTests.sort((testA, testB) => (testA.path > testB.path ? 1 : -1)); - } -} - -module.exports = NamedSequencer; diff --git a/tests/helpers/setup-test.js b/tests/helpers/setup-test.js index b3897d0..a419895 100644 --- a/tests/helpers/setup-test.js +++ b/tests/helpers/setup-test.js @@ -1,3 +1,44 @@ process.env.CHOKIDAR_USEPOLLING = true; +const path = require('node:path'); +const Module = require('node:module'); -jest.setTimeout(400000); +try { + process.binding('http_parser'); +} catch (_) { + const httpCommon = require('node:_http_common'); + const originalBinding = process.binding; + + process.binding = function patchedBinding(name) { + if (name === 'http_parser') { + return { + HTTPParser: httpCommon.HTTPParser, + methods: httpCommon.methods, + }; + } + + return originalBinding(name); + }; +} + +// temporary fix require.resolve error in rstest, see https://github.com/web-infra-dev/rstest/issues/848 +const originalResolveFilename = Module._resolveFilename; +const moduleAliasMap = new Map([ + [ + '../client/clients/SockJSClient', + path.resolve(process.cwd(), 'client/clients/SockJSClient.js'), + ], + [ + '../client/clients/WebSocketClient', + path.resolve(process.cwd(), 'client/clients/WebSocketClient.js'), + ], +]); + +Module._resolveFilename = function patchedResolveFilename(request, ...rest) { + const mapped = moduleAliasMap.get(request); + + if (mapped) { + return originalResolveFilename.call(this, mapped, ...rest); + } + + return originalResolveFilename.call(this, request, ...rest); +}; diff --git a/tests/helpers/snapshot-resolver.js b/tests/helpers/snapshot-resolver.js deleted file mode 100644 index f0c86c0..0000000 --- a/tests/helpers/snapshot-resolver.js +++ /dev/null @@ -1,23 +0,0 @@ -const path = require('node:path'); -const webpack = require('@rspack/core'); - -const [webpackVersion] = webpack.version; -const snapshotExtension = `.snap.webpack${webpackVersion}`; - -module.exports = { - resolveSnapshotPath: (testPath) => - path.join( - path.dirname(testPath), - '__snapshots__', - `${path.basename(testPath)}${snapshotExtension}`, - ), - resolveTestPath: (snapshotPath) => - snapshotPath - .replace(`${path.sep}__snapshots__`, '') - .slice(0, -snapshotExtension.length), - testPathForConsistencyCheck: path.join( - 'consistency_check', - '__tests__', - 'example.test.js', - ), -}; diff --git a/tests/helpers/test-server.js b/tests/helpers/test-server.js index dd62df9..a51cf35 100644 --- a/tests/helpers/test-server.js +++ b/tests/helpers/test-server.js @@ -68,7 +68,7 @@ function startAwaitingCompilation(config, options, done) { function start(config, options, done) { // I suspect that almost all tests need to wait for compilation to - // finish, because not doing so leaves open handles for jest, + // finish, because not doing so leaves open handles for the test runner, // in the case where a compilation didn't finish before destroying // the server and moving on. Thus, the default "start" should wait // for compilation, and only special cases where you don't expect diff --git a/tests/normalizeOptions.test.ts b/tests/normalizeOptions.test.ts index a8f8eba..d02fbfe 100644 --- a/tests/normalizeOptions.test.ts +++ b/tests/normalizeOptions.test.ts @@ -1,12 +1,8 @@ import { type RspackOptions, rspack } from '@rspack/core'; import { type Configuration, RspackDevServer } from '@rspack/dev-server'; import ReactRefreshPlugin from '@rspack/plugin-react-refresh'; -// @ts-expect-error -import serializer from 'jest-serializer-path'; import customConfig from './fixtures/provide-plugin-custom/webpack.config'; -expect.addSnapshotSerializer(serializer); - // The aims of use a cutstom value rather than // default is to avoid stack overflow trigged // by `webpack/schemas/WebpackOption.check.js` in debug mode diff --git a/tests/rstest-env.d.ts b/tests/rstest-env.d.ts new file mode 100644 index 0000000..115fb16 --- /dev/null +++ b/tests/rstest-env.d.ts @@ -0,0 +1 @@ +///