test-runner.component.ts 436 Bytes
Newer Older
Maria C's avatar
Maria C committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';

@Component({
  selector: 'app-test-runner',
  templateUrl: './test-runner.component.html',
  styleUrls: ['./test-runner.component.css'],
})
export class TestRunnerComponent implements OnInit {

  @Input() testsRunning: boolean;
  @Output() runTestsEvent = new EventEmitter();

  ngOnInit(): void {
  }

  runTests() {
    this.runTestsEvent.emit();
  }


}