@cedarjs/testing 5.0.7-next.239 → 5.0.7-next.258

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.
@@ -49,7 +49,7 @@ try {
49
49
  UserRoutes = () => /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null);
50
50
  }
51
51
  const MockProviders = ({ children }) => {
52
- return /* @__PURE__ */ import_react.default.createElement(import_web.RedwoodProvider, { titleTemplate: "%PageTitle | %AppTitle" }, /* @__PURE__ */ import_react.default.createElement(import_CedarApolloProvider.CedarApolloProvider, { useAuth: import_mockAuth.useAuth }, /* @__PURE__ */ import_react.default.createElement(UserRoutes, null), /* @__PURE__ */ import_react.default.createElement(import_globRoutesImporter.UserRoutes, null), /* @__PURE__ */ import_react.default.createElement(import_router.LocationProvider, null, /* @__PURE__ */ import_react.default.createElement(import_MockParamsProvider.MockParamsProvider, null, children))));
52
+ return /* @__PURE__ */ import_react.default.createElement(import_web.CedarProvider, { titleTemplate: "%PageTitle | %AppTitle" }, /* @__PURE__ */ import_react.default.createElement(import_CedarApolloProvider.CedarApolloProvider, { useAuth: import_mockAuth.useAuth }, /* @__PURE__ */ import_react.default.createElement(UserRoutes, null), /* @__PURE__ */ import_react.default.createElement(import_globRoutesImporter.UserRoutes, null), /* @__PURE__ */ import_react.default.createElement(import_router.LocationProvider, null, /* @__PURE__ */ import_react.default.createElement(import_MockParamsProvider.MockParamsProvider, null, children))));
53
53
  };
54
54
  function isModuleNotFoundError(error, module2) {
55
55
  if (!error || typeof error !== "object" || !("code" in error) || error.code !== "MODULE_NOT_FOUND") {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { LocationProvider } from "@cedarjs/router";
3
- import { RedwoodProvider } from "@cedarjs/web";
3
+ import { CedarProvider } from "@cedarjs/web";
4
4
  import { CedarApolloProvider } from "@cedarjs/web/apollo/CedarApolloProvider";
5
5
  import { UserRoutes as VitestUserRoutes } from "./globRoutesImporter.js";
6
6
  import { useAuth } from "./mockAuth.js";
@@ -16,7 +16,7 @@ try {
16
16
  UserRoutes = () => /* @__PURE__ */ React.createElement(React.Fragment, null);
17
17
  }
18
18
  const MockProviders = ({ children }) => {
19
- return /* @__PURE__ */ React.createElement(RedwoodProvider, { titleTemplate: "%PageTitle | %AppTitle" }, /* @__PURE__ */ React.createElement(CedarApolloProvider, { useAuth }, /* @__PURE__ */ React.createElement(UserRoutes, null), /* @__PURE__ */ React.createElement(VitestUserRoutes, null), /* @__PURE__ */ React.createElement(LocationProvider, null, /* @__PURE__ */ React.createElement(MockParamsProvider, null, children))));
19
+ return /* @__PURE__ */ React.createElement(CedarProvider, { titleTemplate: "%PageTitle | %AppTitle" }, /* @__PURE__ */ React.createElement(CedarApolloProvider, { useAuth }, /* @__PURE__ */ React.createElement(UserRoutes, null), /* @__PURE__ */ React.createElement(VitestUserRoutes, null), /* @__PURE__ */ React.createElement(LocationProvider, null, /* @__PURE__ */ React.createElement(MockParamsProvider, null, children))));
20
20
  };
21
21
  function isModuleNotFoundError(error, module) {
22
22
  if (!error || typeof error !== "object" || !("code" in error) || error.code !== "MODULE_NOT_FOUND") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/testing",
3
- "version": "5.0.7-next.239",
3
+ "version": "5.0.7-next.258",
4
4
  "description": "Tools, wrappers and configuration for testing a Cedar project.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -120,14 +120,14 @@
120
120
  },
121
121
  "dependencies": {
122
122
  "@babel/preset-env": "7.29.7",
123
- "@cedarjs/babel-config": "5.0.7-next.239",
124
- "@cedarjs/context": "5.0.7-next.239",
125
- "@cedarjs/graphql-server": "5.0.7-next.239",
126
- "@cedarjs/project-config": "5.0.7-next.239",
123
+ "@cedarjs/babel-config": "5.0.7-next.258",
124
+ "@cedarjs/context": "5.0.7-next.258",
125
+ "@cedarjs/graphql-server": "5.0.7-next.258",
126
+ "@cedarjs/project-config": "5.0.7-next.258",
127
127
  "@testing-library/dom": "10.4.1",
128
128
  "@testing-library/jest-dom": "6.9.1",
129
129
  "@testing-library/react": "16.3.2",
130
- "@testing-library/user-event": "14.6.1",
130
+ "@testing-library/user-event": "14.6.3",
131
131
  "@types/aws-lambda": "8.10.162",
132
132
  "@types/babel-core": "6.25.10",
133
133
  "@types/jest": "29.5.14",
@@ -145,10 +145,10 @@
145
145
  },
146
146
  "devDependencies": {
147
147
  "@arethetypeswrong/cli": "0.18.5",
148
- "@cedarjs/auth": "5.0.7-next.239",
149
- "@cedarjs/framework-tools": "5.0.7-next.239",
150
- "@cedarjs/router": "5.0.7-next.239",
151
- "@cedarjs/web": "5.0.7-next.239",
148
+ "@cedarjs/auth": "5.0.7-next.258",
149
+ "@cedarjs/framework-tools": "5.0.7-next.258",
150
+ "@cedarjs/router": "5.0.7-next.258",
151
+ "@cedarjs/web": "5.0.7-next.258",
152
152
  "concurrently": "9.2.4",
153
153
  "jsdom": "27.4.0",
154
154
  "publint": "0.3.23",
@@ -156,9 +156,9 @@
156
156
  "vitest": "4.1.10"
157
157
  },
158
158
  "peerDependencies": {
159
- "@cedarjs/auth": "5.0.7-next.239",
160
- "@cedarjs/router": "5.0.7-next.239",
161
- "@cedarjs/web": "5.0.7-next.239",
159
+ "@cedarjs/auth": "5.0.7-next.258",
160
+ "@cedarjs/router": "5.0.7-next.258",
161
+ "@cedarjs/web": "5.0.7-next.258",
162
162
  "vitest": "4.1.10"
163
163
  },
164
164
  "peerDependenciesMeta": {