Function
start
({
config = new Config(),
metrics = new Metrics(),
}: { config?: Config; metrics?: Metrics } = {})
Source from the content-addressed store, hash-verified
| 5 | let browserless: Browserless; |
| 6 | |
| 7 | const start = ({ |
| 8 | config = new Config(), |
| 9 | metrics = new Metrics(), |
| 10 | }: { config?: Config; metrics?: Metrics } = {}) => { |
| 11 | browserless = new Browserless({ config, metrics }); |
| 12 | return browserless.start(); |
| 13 | }; |
| 14 | |
| 15 | afterEach(async () => { |
| 16 | await browserless.stop(); |
Tested by
no test coverage detected