Skip to content

Commit b609608

Browse files
committed
test(plugin-doc-coverage): create better test of integration
1 parent 5fc371c commit b609608

23 files changed

+389
-83
lines changed

packages/plugin-doc-coverage/mocks/fixtures/angular/app.component.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/plugin-doc-coverage/mocks/fixtures/angular/app.component.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/plugin-doc-coverage/mocks/fixtures/angular/app.component.spec.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/plugin-doc-coverage/mocks/fixtures/angular/app.component.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/plugin-doc-coverage/mocks/fixtures/angular/map-event.function.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* A class that serves as an example for documentation coverage testing
3+
*/
4+
export class ExampleClass {}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Example enumeration representing different states or options
3+
*/
4+
export enum ExampleEnum {}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Interface representing a basic data structure
3+
*/
4+
export interface ExampleInterface {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/** Example class */
2+
export class Container {
3+
/**
4+
* An example method that returns a string
5+
* @returns A string with the value 'exampleMethod'
6+
*/
7+
exampleMethod(): string {
8+
return 'exampleMethod';
9+
}
10+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/** Example class */
2+
export class ExampleWithProperties {
3+
/**
4+
* Internal identifier that can only be accessed within this class
5+
* @private
6+
*/
7+
private readonly internalId = '123';
8+
}

0 commit comments

Comments
 (0)