Skip to content

Commit 6e9ea72

Browse files
committed
style: rename loop variable to satisfy unicorn/prevent-abbreviations
1 parent d93f5a7 commit 6e9ea72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__tests__/stream.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ describe('stream()', () => {
205205
it('accepts a Web Streams ReadableStream<string> with multiple chunks', async () => {
206206
const rs = new ReadableStream<string>({
207207
start(controller) {
208-
for (let i = 0; i < twoGames.length; i += 5) {
209-
controller.enqueue(twoGames.slice(i, i + 5));
208+
for (let index = 0; index < twoGames.length; index += 5) {
209+
controller.enqueue(twoGames.slice(index, index + 5));
210210
}
211211
controller.close();
212212
},

0 commit comments

Comments
 (0)