Skip to content

Commit 90520bf

Browse files
chore: adjust ts config
1 parent 3e40b20 commit 90520bf

4 files changed

Lines changed: 3 additions & 11 deletions

File tree

src/app/app.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,4 @@ describe('App', () => {
1313
const app = fixture.componentInstance;
1414
expect(app).toBeTruthy();
1515
});
16-
17-
it('should render title', async () => {
18-
const fixture = TestBed.createComponent(App);
19-
await fixture.whenStable();
20-
const compiled = fixture.nativeElement as HTMLElement;
21-
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, qti-editor-angular');
22-
});
2316
});

tsconfig.app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"extends": "./tsconfig.json",
55
"compilerOptions": {
66
"outDir": "./out-tsc/app",
7+
"rootDir": "./src",
78
"allowJs": true,
89
"types": []
910
},

tsconfig.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
{
44
"compileOnSave": false,
55
"compilerOptions": {
6-
"baseUrl": ".",
7-
"paths": {
8-
"@/*": ["./src/*"]
9-
},
106
"strict": true,
117
"noImplicitOverride": true,
128
"noPropertyAccessFromIndexSignature": true,

tsconfig.spec.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"extends": "./tsconfig.json",
55
"compilerOptions": {
66
"outDir": "./out-tsc/spec",
7+
"rootDir": "./src",
8+
"allowJs": true,
79
"types": [
810
"vitest/globals"
911
]

0 commit comments

Comments
 (0)