Skip to content

Commit e53b0b5

Browse files
committed
fixed tests
1 parent 987d00e commit e53b0b5

File tree

5 files changed

+110
-120
lines changed

5 files changed

+110
-120
lines changed

package-lock.json

Lines changed: 100 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/shepherd-tester/src/app/app.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ShepherdComponent } from "./shepherd/shepherd.component";
55
describe("AppComponent", () => {
66
beforeEach(waitForAsync(() => {
77
TestBed.configureTestingModule({
8-
declarations: [AppComponent, ShepherdComponent],
8+
imports: [AppComponent, ShepherdComponent],
99
}).compileComponents();
1010
}));
1111

projects/shepherd-tester/src/app/app.component.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
import { Component, ViewEncapsulation } from '@angular/core';
1+
import { Component } from '@angular/core';
2+
import {ShepherdComponent} from "./shepherd/shepherd.component";
23

34
@Component({
45
selector: 'app-root',
56
templateUrl: './app.component.html',
6-
styleUrls: [
7-
'./app.component.css',
7+
styleUrls: ['./app.component.css'],
8+
standalone: true,
9+
imports: [
10+
ShepherdComponent
811
]
912
})
1013
export class AppComponent {

projects/shepherd-tester/src/app/shepherd/shepherd.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe("ShepherdComponent", () => {
88

99
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
11-
declarations: [ShepherdComponent],
11+
imports: [ShepherdComponent],
1212
}).compileComponents();
1313
}));
1414

projects/shepherd-tester/src/app/shepherd/shepherd.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { steps as defaultSteps, defaultStepOptions} from '../data';
55
@Component({
66
selector: 'app-shepherd',
77
templateUrl: './shepherd.component.html',
8-
styleUrls: ['./shepherd.component.css']
8+
styleUrls: ['./shepherd.component.css'],
9+
standalone: true,
910
})
1011
export class ShepherdComponent implements AfterViewInit {
1112

0 commit comments

Comments
 (0)