diff --git a/code/e2e-tests/json-files.spec.ts b/code/e2e-tests/json-files.spec.ts index d2026a7872b2..f205de3299ed 100644 --- a/code/e2e-tests/json-files.spec.ts +++ b/code/e2e-tests/json-files.spec.ts @@ -23,7 +23,7 @@ test.describe('JSON files', () => { entries: expect.objectContaining({ 'example-button--primary': expect.objectContaining({ id: 'example-button--primary', - importPath: expect.stringContaining('Button.stories'), + importPath: expect.stringMatching(/button\.stories/i), name: 'Primary', title: 'Example/Button', type: 'story', diff --git a/code/frameworks/angular/template/cli/User.ts b/code/frameworks/angular/template/cli/User.ts deleted file mode 100644 index 2f7fcecb5d74..000000000000 --- a/code/frameworks/angular/template/cli/User.ts +++ /dev/null @@ -1,2 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface User {} diff --git a/code/frameworks/angular/template/cli/button.component.ts b/code/frameworks/angular/template/cli/button.component.ts index 28dcc97e5526..badc6bad7f19 100644 --- a/code/frameworks/angular/template/cli/button.component.ts +++ b/code/frameworks/angular/template/cli/button.component.ts @@ -3,6 +3,7 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'storybook-button', + standalone: true, imports: [CommonModule], template: `