Skip to content

Conversation

this-self
Copy link
Contributor

No description provided.

@this-self this-self requested review from StyleT and nightnei May 20, 2021 13:27
const fragmentAttrs = getFragmentAttributes();
const headers = {};

insertEnd(mockStream, fragmentAttrs, headers, 0);
Copy link
Contributor

@nightnei nightnei May 24, 2021

Choose a reason for hiding this comment

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

looks like "index" isn't used inside "insertStart", probably we can remove it from module and from tests too

offtop: I think would be better to create a variable before providing raw parameter to a function, since it's unreal to understand what is the fourth parameter, e.g.

const indexOfSomething = 0;
insertEnd(mockStream, fragmentAttrs, headers, indexOfSomething);

@this-self this-self merged commit f59f896 into master May 25, 2021
@this-self this-self deleted the addTestsForFragmentHooks branch May 25, 2021 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants