Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/config/browser-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import * as _ from "lodash";
import type { Test } from "../types";
import type { CommonConfig } from "./types";

export interface BrowserConfig extends CommonConfig {
id: string;
}

export class BrowserConfig {
constructor(browserOptions: CommonConfig) {
constructor(browserOptions: CommonConfig & { id: string }) {
_.extend(this, browserOptions);
}

Expand Down
6 changes: 0 additions & 6 deletions src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,3 @@ export interface RuntimeConfig {
declare module "." {
export interface Config extends ConfigParsed {}
}

declare module "./browser-config" {
export interface BrowserConfig extends CommonConfig {
id: string;
}
}