import { describe, expect, it } from 'vitest';
import { getBundleSizeFromScript } from '../utils/getBundleSize';

describe('fp/minBy bundle size', () => {
  it('es-toolkit/fp', async () => {
    expect(
      await getBundleSizeFromScript('import { minBy } from "es-toolkit/fp"; console.log(minBy)')
    ).toMatchInlineSnapshot(`233`);
  });
});
