style(discord): apply prettier reflow to chunker tests

Follow-up to 6505971: the pre-commit prettier hook rewrapped the new
import and an Array.from() call after the commit landed, leaving the
working tree dirty. Commit the reflow so the tree is clean.
This commit is contained in:
Codex
2026-06-01 01:25:25 +09:00
parent 65059719ce
commit 047f0d3b70

View File

@@ -124,7 +124,11 @@ vi.mock('discord.js', () => {
};
});
import { DiscordChannel, DiscordChannelOpts, chunkForDiscord } from './discord.js';
import {
DiscordChannel,
DiscordChannelOpts,
chunkForDiscord,
} from './discord.js';
import { registerChannel } from './registry.js';
import { getEnv } from '../env.js';
import { logger } from '../logger.js';
@@ -1153,8 +1157,10 @@ describe('chunkForDiscord', () => {
});
it('preserves total content across chunk seams (modulo reopen overhead)', () => {
const code =
Array.from({ length: 80 }, (_, i) => `console.log(${i});`).join('\n');
const code = Array.from(
{ length: 80 },
(_, i) => `console.log(${i});`,
).join('\n');
const text = '```js\n' + code + '\n```';
const chunks = chunkForDiscord(text, 300);
// After removing the reopen-close fence pairs that the chunker inserts