Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular: Rename Jhipster to JHipster #26512

Merged
merged 1 commit into from
Jun 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ describe('Alert service test', () => {

it('should produce an alert object with correct id', inject([AlertService], (service: AlertService) => {
service.addAlert({ type: 'info', message: 'Hello Jhipster info' });
expect(service.addAlert({ type: 'success', message: 'Hello Jhipster success' })).toEqual(
expect(service.addAlert({ type: 'success', message: 'Hello JHipster success' })).toEqual(
expect.objectContaining({
type: 'success',
message: 'Hello Jhipster success',
message: 'Hello JHipster success',
id: 1,
} as Alert)
);
Expand All @@ -135,7 +135,7 @@ describe('Alert service test', () => {
expect(service.get()[1]).toEqual(
expect.objectContaining({
type: 'success',
message: 'Hello Jhipster success',
message: 'Hello JHipster success',
id: 1,
} as Alert)
);
Expand All @@ -144,11 +144,11 @@ describe('Alert service test', () => {
it('should close an alert correctly', inject([AlertService], (service: AlertService) => {
const alert0 = service.addAlert({ type: 'info', message: 'Hello Jhipster info' });
const alert1 = service.addAlert({ type: 'info', message: 'Hello Jhipster info 2' });
const alert2 = service.addAlert({ type: 'success', message: 'Hello Jhipster success' });
const alert2 = service.addAlert({ type: 'success', message: 'Hello JHipster success' });
expect(alert2).toEqual(
expect.objectContaining({
type: 'success',
message: 'Hello Jhipster success',
message: 'Hello JHipster success',
id: 2,
} as Alert)
);
Expand All @@ -168,7 +168,7 @@ describe('Alert service test', () => {
expect(service.get()[0]).not.toEqual(
expect.objectContaining({
type: 'success',
message: 'Hello Jhipster success',
message: 'Hello JHipster success',
id: 2,
} as Alert)
);
Expand Down
Loading