(settings: Record<string, unknown> = {})
| 22 | })); |
| 23 | |
| 24 | function createCommand(settings: Record<string, unknown> = {}): IUserScript { |
| 25 | return { |
| 26 | id: "command-1", |
| 27 | name: "Script", |
| 28 | type: CommandType.UserScript, |
| 29 | path: "scripts/script.js", |
| 30 | settings, |
| 31 | }; |
| 32 | } |
| 33 | |
| 34 | function createSettings(optionOverrides: Record<string, unknown> = {}) { |
| 35 | return { |
no outgoing calls
no test coverage detected