@modern-js/plugin-testing 0.0.0-next-20250408042639 → 0.0.0-next-20250408083331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -15,7 +15,6 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var src_exports = {};
17
17
  module.exports = __toCommonJS(src_exports);
18
- var import_extend_expect = require("@testing-library/jest-dom/extend-expect");
19
18
  var import_jest_dom = require("@testing-library/jest-dom");
20
19
  __reExport(src_exports, require("./runtime-testing"), module.exports);
21
20
  // Annotate the CommonJS export names for ESM import in node:
package/dist/esm/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import "@testing-library/jest-dom/extend-expect";
2
1
  import "@testing-library/jest-dom";
3
2
  export * from "./runtime-testing";
@@ -1,3 +1,2 @@
1
- import "@testing-library/jest-dom/extend-expect";
2
1
  import "@testing-library/jest-dom";
3
2
  export * from "./runtime-testing";
@@ -1,6 +1,6 @@
1
1
  import type { ServerPlugin } from '@modern-js/types';
2
2
  export declare const isInHandler: () => boolean;
3
- declare const createApp: (pwd: string, config: any, plugins: ServerPlugin[], routes: any[]) => Promise<(req: import("@modern-js/server-core/dist/types/types").NodeRequest, res: import("@modern-js/server-core/dist/types/types").NodeResponse) => Promise<void>>;
4
- declare const getApp: () => (req: import("@modern-js/server-core/dist/types/types").NodeRequest, res: import("@modern-js/server-core/dist/types/types").NodeResponse) => Promise<void>;
3
+ declare const createApp: (pwd: string, config: any, plugins: ServerPlugin[], routes: any[]) => Promise<(req: import("@modern-js/types").NodeRequest, res: import("@modern-js/types").NodeResponse) => Promise<void>>;
4
+ declare const getApp: () => (req: import("@modern-js/types").NodeRequest, res: import("@modern-js/types").NodeResponse) => Promise<void>;
5
5
  declare const closeServer: () => Promise<void>;
6
6
  export { createApp, getApp, closeServer };
@@ -1,3 +1,2 @@
1
- import '@testing-library/jest-dom/extend-expect';
2
1
  import '@testing-library/jest-dom';
3
2
  export * from './runtime-testing';
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20250408042639",
18
+ "version": "0.0.0-next-20250408083331",
19
19
  "jsnext:source": "./src/cli/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "main": "./dist/cjs/cli/index.js",
@@ -118,7 +118,7 @@
118
118
  "@modern-js-reduck/plugin-immutable": "^1.1.10",
119
119
  "@modern-js-reduck/store": "^1.1.10",
120
120
  "@swc/helpers": "0.5.13",
121
- "@testing-library/jest-dom": "^5.16.1",
121
+ "@testing-library/jest-dom": "6.4.7",
122
122
  "@testing-library/react": "^13.4.0",
123
123
  "@types/testing-library__jest-dom": "^5.14.3",
124
124
  "babel-jest": "^29.5.0",
@@ -130,19 +130,19 @@
130
130
  "supertest": "^6.1.6",
131
131
  "ts-jest": "^29.1.0",
132
132
  "yargs": "^17.0.1",
133
- "@modern-js/babel-compiler": "0.0.0-next-20250408042639",
134
- "@modern-js/babel-preset": "0.0.0-next-20250408042639",
135
- "@modern-js/bff-core": "0.0.0-next-20250408042639",
136
- "@modern-js/plugin": "0.0.0-next-20250408042639",
137
- "@modern-js/prod-server": "0.0.0-next-20250408042639",
138
- "@modern-js/server-core": "0.0.0-next-20250408042639",
139
- "@modern-js/types": "0.0.0-next-20250408042639",
140
- "@modern-js/utils": "0.0.0-next-20250408042639"
133
+ "@modern-js/babel-compiler": "0.0.0-next-20250408083331",
134
+ "@modern-js/babel-preset": "0.0.0-next-20250408083331",
135
+ "@modern-js/bff-core": "0.0.0-next-20250408083331",
136
+ "@modern-js/plugin": "0.0.0-next-20250408083331",
137
+ "@modern-js/prod-server": "0.0.0-next-20250408083331",
138
+ "@modern-js/types": "0.0.0-next-20250408083331",
139
+ "@modern-js/server-core": "0.0.0-next-20250408083331",
140
+ "@modern-js/utils": "0.0.0-next-20250408083331"
141
141
  },
142
142
  "peerDependencies": {
143
143
  "react": ">=17",
144
144
  "react-dom": ">=17",
145
- "@modern-js/runtime": "0.0.0-next-20250408042639"
145
+ "@modern-js/runtime": "0.0.0-next-20250408083331"
146
146
  },
147
147
  "peerDependenciesMeta": {
148
148
  "@modern-js/runtime": {
@@ -159,10 +159,10 @@
159
159
  "react": "^18.3.1",
160
160
  "react-dom": "^18.3.1",
161
161
  "typescript": "^5",
162
- "@modern-js/core": "0.0.0-next-20250408042639",
163
- "@modern-js/runtime": "0.0.0-next-20250408042639",
164
- "@scripts/jest-config": "0.0.0-next-20250408042639",
165
- "@scripts/build": "0.0.0-next-20250408042639"
162
+ "@modern-js/core": "0.0.0-next-20250408083331",
163
+ "@scripts/build": "0.0.0-next-20250408083331",
164
+ "@modern-js/runtime": "0.0.0-next-20250408083331",
165
+ "@scripts/jest-config": "0.0.0-next-20250408083331"
166
166
  },
167
167
  "sideEffects": false,
168
168
  "publishConfig": {