UNPKG

@gullerya/just-test

Version:

JavaScript multiplatform tests runner

17 lines (15 loc) 373 B
export class EnvironmentBase extends EventTarget { constructor(sessionId) { super(); if (!sessionId || typeof sessionId !== 'string') { throw new Error(`invalid session ID '${sessionId}'`); } this.sessionId = sessionId; } async launch() { throw new Error('not implemented'); } async dismiss() { throw new Error('not implemented'); } }