Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

fix(core): avoid duplicate mediaQuery activations #937

Merged
merged 2 commits into from
Dec 18, 2018
Merged

Conversation

CaerusKaru
Copy link
Member

No description provided.

it('doesn\'t activate when match-media activates the same breakpoint twice', () => {
matchMedia.activate('xs');
matchMedia.activate('xs');
expect(mediaMarshaller.updateStyles).toHaveBeenCalledTimes(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ThomasBurleson ThomasBurleson merged commit 23592ee into master Dec 18, 2018
@CaerusKaru CaerusKaru deleted the adam/fix-mm branch December 20, 2018 03:25
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants