mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 07:53:02 +00:00
[DURACOM-240] Fix test
This commit is contained in:
@@ -14,6 +14,8 @@ import { MarkdownDirective } from './markdown.directive';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
template: `<div dsMarkdown="test"></div>`,
|
template: `<div dsMarkdown="test"></div>`,
|
||||||
|
standalone: true,
|
||||||
|
imports: [ MarkdownDirective ],
|
||||||
})
|
})
|
||||||
class TestComponent {}
|
class TestComponent {}
|
||||||
|
|
||||||
@@ -24,7 +26,6 @@ describe('MarkdownDirective', () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ TestComponent, MarkdownDirective ],
|
|
||||||
providers: [
|
providers: [
|
||||||
{ provide: MathService, useClass: MockMathService },
|
{ provide: MathService, useClass: MockMathService },
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user