Skip to content

Commit

Permalink
feat(popover): fix unit tests by adding tsconfig test
Browse files Browse the repository at this point in the history
Signed-off-by: aurore.stagnol <a.stagnol@gmail.com>
  • Loading branch information
astagnol authored and skhamvon committed May 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fba4ede commit 6f936b7
Showing 4 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -7,15 +7,7 @@ import { OdsComponentController } from '../../ods-component-controller';
*/
export class OdsPopoverContentController extends OdsComponentController<OdsPopoverContent> {
// private readonly logger = new OdsLogger('OdsPopoverContentController');

constructor(component: OdsPopoverContent) {
super(component);
}

/**
* Attributes validation documentation
*/
validateAttributes(): void {
return;
}
}
4 changes: 2 additions & 2 deletions packages/stencil/components/popover/src/global.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ###
// global script file to include only in test mode.
// it always has to include './components' and './global.ts'
// it always has to include './global.ts'
// ###
import './components';

import './global';
6 changes: 6 additions & 0 deletions packages/stencil/components/popover/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.test.json",
"include": [
"src"
]
}
1 change: 1 addition & 0 deletions packages/stencil/components/tsconfig.components.test.json
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
"link/src",
"location-tile/src",
"message/src",
"popover/src",
"quantity/src",
"radio/src",
"radio-button/src",

0 comments on commit 6f936b7

Please sign in to comment.