@cedarjs/testing 6.0.1 → 6.0.2-rc.53

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.
@@ -1 +1 @@
1
- {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MAqFb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MA0Fb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -127,8 +127,13 @@ const config = {
127
127
  }
128
128
  ]
129
129
  },
130
+ // Jest runs api tests as CommonJS, so the ESM-only packages it reaches have
131
+ // to be transformed. `picoquery` is one: `@cedarjs/api/runtime` imports it,
132
+ // and `@cedarjs/graphql-server` pulls that module in, so any test that
133
+ // imports the GraphQL server (directive tests do, through
134
+ // `@cedarjs/testing/api`) loads it.
130
135
  transformIgnorePatterns: [
131
- "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])"
136
+ "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])(?!picoquery[/\\\\])"
132
137
  ],
133
138
  testPathIgnorePatterns: [".scenarios.[jt]s$"]
134
139
  };
@@ -1 +1 @@
1
- {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MAqFb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MA0Fb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -127,8 +127,13 @@ const config = {
127
127
  }
128
128
  ]
129
129
  },
130
+ // Jest runs api tests as CommonJS, so the ESM-only packages it reaches have
131
+ // to be transformed. `picoquery` is one: `@cedarjs/api/runtime` imports it,
132
+ // and `@cedarjs/graphql-server` pulls that module in, so any test that
133
+ // imports the GraphQL server (directive tests do, through
134
+ // `@cedarjs/testing/api`) loads it.
130
135
  transformIgnorePatterns: [
131
- "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])"
136
+ "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])(?!picoquery[/\\\\])"
132
137
  ],
133
138
  testPathIgnorePatterns: [".scenarios.[jt]s$"]
134
139
  };
@@ -1 +1 @@
1
- {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MAqFb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAkClC,QAAA,MAAM,MAAM,EAAE,MA0Fb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -94,8 +94,13 @@ const config = {
94
94
  }
95
95
  ]
96
96
  },
97
+ // Jest runs api tests as CommonJS, so the ESM-only packages it reaches have
98
+ // to be transformed. `picoquery` is one: `@cedarjs/api/runtime` imports it,
99
+ // and `@cedarjs/graphql-server` pulls that module in, so any test that
100
+ // imports the GraphQL server (directive tests do, through
101
+ // `@cedarjs/testing/api`) loads it.
97
102
  transformIgnorePatterns: [
98
- "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])"
103
+ "[/\\\\]node_modules[/\\\\](?!@cedarjs[/\\\\]context[/\\\\])(?!@cedarjs[/\\\\]api[/\\\\])(?!@cedarjs[/\\\\]graphql-server[/\\\\])(?!@cedarjs[/\\\\]storage[/\\\\])(?!picoquery[/\\\\])"
99
104
  ],
100
105
  testPathIgnorePatterns: [".scenarios.[jt]s$"]
101
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/testing",
3
- "version": "6.0.1",
3
+ "version": "6.0.2-rc.53",
4
4
  "description": "Tools, wrappers and configuration for testing a Cedar project.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -120,15 +120,15 @@
120
120
  },
121
121
  "dependencies": {
122
122
  "@babel/preset-env": "7.29.7",
123
- "@cedarjs/babel-config": "6.0.1",
124
- "@cedarjs/context": "6.0.1",
125
- "@cedarjs/graphql-server": "6.0.1",
126
- "@cedarjs/project-config": "6.0.1",
123
+ "@cedarjs/babel-config": "6.0.2-rc.53",
124
+ "@cedarjs/context": "6.0.2-rc.53",
125
+ "@cedarjs/graphql-server": "6.0.2-rc.53",
126
+ "@cedarjs/project-config": "6.0.2-rc.53",
127
127
  "@testing-library/dom": "10.4.1",
128
128
  "@testing-library/jest-dom": "6.9.1",
129
- "@testing-library/react": "16.3.2",
130
- "@testing-library/user-event": "14.6.4",
131
- "@types/aws-lambda": "8.10.162",
129
+ "@testing-library/react": "16.3.3",
130
+ "@testing-library/user-event": "14.6.7",
131
+ "@types/aws-lambda": "8.10.163",
132
132
  "@types/babel-core": "6.25.10",
133
133
  "@types/jest": "29.5.14",
134
134
  "@types/node": "24.10.4",
@@ -145,21 +145,21 @@
145
145
  },
146
146
  "devDependencies": {
147
147
  "@arethetypeswrong/cli": "0.18.5",
148
- "@cedarjs/auth": "6.0.1",
149
- "@cedarjs/framework-tools": "6.0.1",
150
- "@cedarjs/router": "6.0.1",
151
- "@cedarjs/web": "6.0.1",
148
+ "@cedarjs/auth": "6.0.2-rc.53",
149
+ "@cedarjs/framework-tools": "6.0.2-rc.53",
150
+ "@cedarjs/router": "6.0.2-rc.53",
151
+ "@cedarjs/web": "6.0.2-rc.53",
152
152
  "concurrently": "9.2.4",
153
153
  "jsdom": "27.4.0",
154
- "publint": "0.3.23",
154
+ "publint": "0.3.24",
155
155
  "typescript": "5.9.3",
156
- "vitest": "4.1.10"
156
+ "vitest": "4.1.11"
157
157
  },
158
158
  "peerDependencies": {
159
- "@cedarjs/auth": "6.0.1",
160
- "@cedarjs/router": "6.0.1",
161
- "@cedarjs/web": "6.0.1",
162
- "vitest": "4.1.10"
159
+ "@cedarjs/auth": "6.0.2-rc.53",
160
+ "@cedarjs/router": "6.0.2-rc.53",
161
+ "@cedarjs/web": "6.0.2-rc.53",
162
+ "vitest": "4.1.11"
163
163
  },
164
164
  "peerDependenciesMeta": {
165
165
  "vitest": {