Skip to content

Commit 96c3c96

Browse files
committed
update monitor options
1 parent dd5a2db commit 96c3c96

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/common_types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,7 @@ export type PushOptions = Partial<ProjectSettings> &
269269
export type ProjectSettings = {
270270
id: string;
271271
url: string;
272-
/**
273-
* @deprecated Since 9.1.0 , we recommend using `spaces` instead.
274-
*/
275272
space: string;
276-
spaces?: string[];
277273
};
278274

279275
export type PlaywrightOptions = LaunchOptions &
@@ -288,7 +284,6 @@ export type SyntheticsConfig = {
288284
playwrightOptions?: PlaywrightOptions;
289285
monitor?: MonitorConfig;
290286
project?: ProjectSettings;
291-
spaces?: string[];
292287
};
293288

294289
/** Runner Payload types */

src/core/runner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ export default class Runner implements RunnerInfo {
443443
retestOnFailure: options.retestOnFailure,
444444
enabled: options.enabled,
445445
fields: options.fields,
446+
spaces: options.spaces,
446447
});
447448

448449
const monitors: Monitor[] = [];

src/options.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export async function normalizeOptions(
7070
: {};
7171

7272
options.params = Object.freeze(merge(config.params, cliArgs.params || {}));
73-
options.spaces = merge(config.spaces || [], cliArgs.spaces || []);
7473
options.fields = Object.freeze(
7574
merge(config.monitor?.fields ?? {}, cliArgs?.fields || {})
7675
);

0 commit comments

Comments
 (0)