Skip to content

Commit

Permalink
fixup! refactor(core): Use early event contract instead of the event …
Browse files Browse the repository at this point in the history
…contract in bootstrap.
  • Loading branch information
iteriani committed Apr 30, 2024
1 parent 5ad1151 commit 43dc492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/primitives/event-dispatch/contract_binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/

import {bootstrapEventContract} from './src/register_events';
import {bootstrapEarlyEventContract} from './src/register_events';

(window as any)['__jsaction_bootstrap'] = bootstrapEventContract;
(window as any)['__jsaction_bootstrap'] = bootstrapEarlyEventContract;
2 changes: 1 addition & 1 deletion packages/platform-server/test/event_replay_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('event replay', () => {
globalThis.window = originalWindow;
globalThis.document = originalDocument;
});
it('should serialize event types to be listened to and jsaction', async () => {
it('should serialize event types to be listened to and jsaction attribute', async () => {
const clickSpy = jasmine.createSpy('onClick');
const blurSpy = jasmine.createSpy('onBlur');
@Component({
Expand Down

0 comments on commit 43dc492

Please sign in to comment.