From a67bc38579a85764427bda1e1164c3a24d967e1a Mon Sep 17 00:00:00 2001 From: boleklebovski <160799963+boleklebovski@users.noreply.github.com> Date: Wed, 12 Aug 2026 20:52:10 +0200 Subject: [PATCH] docs(snaps-jest): drop references to options that do not exist executionEnvironmentUrl and simulatorUrl are not part of the environment options struct, so setting them has no effect. Signed-off-by: boleklebovski <160799963+boleklebovski@users.noreply.github.com> --- packages/snaps-jest/README.md | 5 ++--- packages/snaps-jest/src/options.ts | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/snaps-jest/README.md b/packages/snaps-jest/README.md index 9365a38da1..63aefbc072 100644 --- a/packages/snaps-jest/README.md +++ b/packages/snaps-jest/README.md @@ -540,9 +540,8 @@ bundle during tests. - Default: `true` Whether to enable the built-in HTTP server. By default, it will be enabled. If -you want to use your own HTTP server, you can disable this option, and use the -`executionEnvironmentUrl` and `simulatorUrl` options to configure the URLs of -your own server. +you want to use your own HTTP server, you can disable this option and serve the +snap bundle yourself. ##### Example diff --git a/packages/snaps-jest/src/options.ts b/packages/snaps-jest/src/options.ts index a63f091d1e..868e3bcef6 100644 --- a/packages/snaps-jest/src/options.ts +++ b/packages/snaps-jest/src/options.ts @@ -28,7 +28,6 @@ const SnapsEnvironmentOptionsStruct = type({ * { * "testEnvironment": "@metamask/snaps-jest", * "testEnvironmentOptions": { - * "executionEnvironmentUrl": "http://localhost:8080", * "server": { * "port": 8080, * /* ... *\/