All files / src/hosts web.ts

72.73% Statements 8/11
100% Branches 0/0
50% Functions 2/4
85.71% Lines 6/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17            1x 1x 1x   1x   1x     1x  
import { Host } from './host';
import { Platform } from '../platforms/platform';
import { inject } from 'aurelia-dependency-injection';
import { MaterialDesign } from '../designs/material-design';
 
@inject(MaterialDesign)
export class Web implements Host, Platform {
  public type = 'web';
  public isAvailable = true;
 
  constructor(public design: MaterialDesign) { }
 
  public start(): Promise<Platform> {
    return Promise.resolve().then(() => this);
  }
}