add test coverage on the regression fixed

This commit is contained in:
Nacho Codoñer
2026-02-17 17:38:10 +01:00
parent 5902a86aec
commit 8aed659ce6
6 changed files with 6 additions and 14 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@meteorjs/rspack",
"version": "1.1.0-beta.2",
"version": "1.1.0-beta.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@meteorjs/rspack",
"version": "1.1.0-beta.2",
"version": "1.1.0-beta.4",
"license": "ISC",
"dependencies": {
"fast-deep-equal": "^3.1.3",

View File

@@ -1,6 +1,6 @@
{
"name": "@meteorjs/rspack",
"version": "1.1.0-beta.2",
"version": "1.1.0-beta.4",
"description": "Configuration logic for using Rspack in Meteor projects",
"main": "index.js",
"type": "commonjs",

View File

@@ -454,11 +454,6 @@ module.exports = async function (inMeteor = {}, argv = {}) {
: isClient && isTest && testEntry
? path.resolve(process.cwd(), testEntry)
: path.resolve(process.cwd(), buildContext, entryPath);
console.log(
"--> (rspack.config.js-Line: 431)\n clientEntry: ",
clientEntry,
entryPath
);
const clientNameConfig = `[${(isTest && 'test-') || ''}client-rspack]`;
// Base client config
let clientConfig = {
@@ -581,11 +576,6 @@ module.exports = async function (inMeteor = {}, argv = {}) {
? path.resolve(process.cwd(), testEntry)
: path.resolve(projectDir, buildContext, entryPath);
const serverNameConfig = `[${(isTest && 'test-') || ''}server-rspack]`;
console.log(
"--> (rspack.config.js-Line: 576)\n serverEntry: ",
serverEntry,
entryPath
);
// Base server config
let serverConfig = {
name: serverNameConfig,

View File

@@ -5,7 +5,7 @@
export const DEFAULT_RSPACK_VERSION = '1.7.1';
export const DEFAULT_METEOR_RSPACK_VERSION = '1.1.0-beta.2';
export const DEFAULT_METEOR_RSPACK_VERSION = '1.1.0-beta.4';
export const DEFAULT_METEOR_RSPACK_REACT_HMR_VERSION = '1.4.3';

View File

@@ -0,0 +1 @@
react-router*

View File

@@ -0,0 +1 @@
throw new Error("test should be ignored by eager test loading");