@elench/testkit 0.1.75 → 0.1.76

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.
@@ -280,6 +280,7 @@ export function resolveTemplateString(value, context) {
280
280
  return value.replace(/\{([a-zA-Z]+)(?::([a-zA-Z0-9_-]+))?\}/g, (_match, token, arg) => {
281
281
  switch (token) {
282
282
  case "runtime":
283
+ case "runtimeId":
283
284
  return String(context.runtimeId);
284
285
  case "service":
285
286
  return context.serviceName;
@@ -192,6 +192,9 @@ describe("runner-template", () => {
192
192
  TESTKIT_LEASE_ID: "lease-1",
193
193
  TESTKIT_LEASE_DIR: "/tmp/lease-1",
194
194
  });
195
+ expect(finalizeString(".next-testkit/{runtimeId}/dist", resolved[1].testkit.templateContext)).toBe(
196
+ ".next-testkit/runtime-2/dist"
197
+ );
195
198
 
196
199
  expect(
197
200
  buildPlaywrightEnv(
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/next-analysis",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "SWC-backed Next.js source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-bridge",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "Browser bridge helpers for testkit",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "typecheck": "tsc -p tsconfig.json --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@elench/testkit-protocol": "0.1.75"
25
+ "@elench/testkit-protocol": "0.1.76"
26
26
  },
27
27
  "private": false
28
28
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-protocol",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "Shared browser protocol for testkit bridge and extension consumers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/ts-analysis",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "TypeScript compiler-backed source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "CLI for discovering and running local HTTP, DAL, and Playwright test suites",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -81,10 +81,10 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@babel/code-frame": "^7.29.0",
84
- "@elench/next-analysis": "0.1.75",
85
- "@elench/testkit-bridge": "0.1.75",
86
- "@elench/testkit-protocol": "0.1.75",
87
- "@elench/ts-analysis": "0.1.75",
84
+ "@elench/next-analysis": "0.1.76",
85
+ "@elench/testkit-bridge": "0.1.76",
86
+ "@elench/testkit-protocol": "0.1.76",
87
+ "@elench/ts-analysis": "0.1.76",
88
88
  "@oclif/core": "^4.10.6",
89
89
  "esbuild": "^0.25.11",
90
90
  "execa": "^9.5.0",