Skip to content

Commit

Permalink
Add sistedes config to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abelgomez committed Dec 29, 2023
1 parent 41a7769 commit 074ba43
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/environments/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { BuildConfig } from 'src/config/build-config.interface';
import { RestRequestMethod } from '../app/core/data/rest-request-method';
import { NotificationAnimationsType } from '../app/shared/notifications/models/notification-animations-type';

// BEGIN: Sistedes
import { SistedesConfig } from 'src/themes/sistedes/sistedes-config.interface';

Check failure on line 7 in src/environments/environment.test.ts

View workflow job for this annotation

GitHub Actions / tests (16.x)

'SistedesConfig' is defined but never used

Check failure on line 7 in src/environments/environment.test.ts

View workflow job for this annotation

GitHub Actions / tests (18.x)

'SistedesConfig' is defined but never used
// END: Sistedes

export const environment: BuildConfig = {
production: false,

Expand Down Expand Up @@ -314,4 +318,14 @@ export const environment: BuildConfig = {
enabled: true
}
]
// BEGIN: Sistedes
,
sistedes: {
highlightedCommunities: {
pageSize:5,
sortField: 'dc.title',
query: 'dc.title:' + new Date().getFullYear(),
}
}
// END: Sistedes
};
2 changes: 1 addition & 1 deletion src/themes/sistedes/sistedes-config.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Config } from 'src/config/config.interface';
*/
export interface SistedesConfig extends Config {
highlightedCommunities: {
/**
/**
* The number of item showing in recent communities components
*/
pageSize: number;
Expand Down

0 comments on commit 074ba43

Please sign in to comment.