Skip to content

Commit

Permalink
fix(ng-mat-core): properly export SlDialogService
Browse files Browse the repository at this point in the history
  • Loading branch information
ersimont committed Dec 18, 2021
1 parent 7805cce commit 68d3963
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 22 deletions.
42 changes: 20 additions & 22 deletions projects/integration/src/app/api-tests/ng-core.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,31 @@ import {
} from '@s-libs/ng-core';

describe('ng-core', () => {
describe('public API', () => {
it('has DirectiveSuperclass', () => {
expect(DirectiveSuperclass).toBeDefined();
});
it('has DirectiveSuperclass', () => {
expect(DirectiveSuperclass).toBeDefined();
});

it('has FormComponentSuperclass', () => {
expect(FormComponentSuperclass).toBeDefined();
});
it('has FormComponentSuperclass', () => {
expect(FormComponentSuperclass).toBeDefined();
});

it('has InjectableSuperclass', () => {
expect(InjectableSuperclass).toBeDefined();
});
it('has InjectableSuperclass', () => {
expect(InjectableSuperclass).toBeDefined();
});

it('has WrappedControlSuperclass', () => {
expect(WrappedControlSuperclass).toBeDefined();
});
it('has WrappedControlSuperclass', () => {
expect(WrappedControlSuperclass).toBeDefined();
});

it('has WrappedFormControlSuperclass', () => {
expect(WrappedFormControlSuperclass).toBeDefined();
});
it('has WrappedFormControlSuperclass', () => {
expect(WrappedFormControlSuperclass).toBeDefined();
});

it('has mixInInjectableSuperclass', () => {
expect(mixInInjectableSuperclass).toBeDefined();
});
it('has mixInInjectableSuperclass', () => {
expect(mixInInjectableSuperclass).toBeDefined();
});

it('has provideValueAccessor', () => {
expect(provideValueAccessor).toBeDefined();
});
it('has provideValueAccessor', () => {
expect(provideValueAccessor).toBeDefined();
});
});
11 changes: 11 additions & 0 deletions projects/integration/src/app/api-tests/ng-mat-core.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { SlDialogModule, SlDialogService } from '@s-libs/ng-mat-core';

describe('ng-mat-core', () => {
it('has SlDialogModule', () => {
expect(SlDialogModule).toBeDefined();
});

it('has SlDialogService', () => {
expect(SlDialogService).toBeDefined();
});
});
1 change: 1 addition & 0 deletions projects/ng-mat-core/src/lib/dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export {
SL_DIALOG_DATA,
} from './dialog.component';
export { SlDialogModule } from './sl-dialog.module';
export { SlDialogService } from './sl-dialog.service';

0 comments on commit 68d3963

Please sign in to comment.