diff --git a/packages/sqip-cli/src/sqip-cli.ts b/packages/sqip-cli/src/sqip-cli.ts index 26810a12..47a3fff8 100644 --- a/packages/sqip-cli/src/sqip-cli.ts +++ b/packages/sqip-cli/src/sqip-cli.ts @@ -6,7 +6,12 @@ import Debug from 'debug' import fs from 'fs-extra' import pkgUp from 'pkg-up' -import { sqip, resolvePlugins, SqipCliOptionDefinition, SqipOptions } from 'sqip' +import { + sqip, + resolvePlugins, + SqipCliOptionDefinition, + SqipOptions +} from 'sqip' const debug = Debug('sqip-cli') @@ -65,8 +70,7 @@ const defaultOptionList: SqipCliOptionDefinition[] = [ name: 'print', type: Boolean, defaultValue: false, - description: - 'Print resulting svg to stdout.' + description: 'Print resulting svg to stdout.' } ] diff --git a/packages/sqip-plugin-blur/__tests__/unit/sqip-plugin-blur.test.ts b/packages/sqip-plugin-blur/__tests__/unit/sqip-plugin-blur.test.ts index 0475c4ea..c6d595bc 100644 --- a/packages/sqip-plugin-blur/__tests__/unit/sqip-plugin-blur.test.ts +++ b/packages/sqip-plugin-blur/__tests__/unit/sqip-plugin-blur.test.ts @@ -52,9 +52,7 @@ describe('does prepare problematic svgs properly for blurring', () => { expect(result).toMatchSnapshot() }) test('svg with missing background should not throw', () => { - expect(() => - svgPlugin.prepareSVG(sampleNoBg, mockedMetadata) - ).not.toThrow() + expect(() => svgPlugin.prepareSVG(sampleNoBg, mockedMetadata)).not.toThrow() }) }) diff --git a/packages/sqip-plugin-primitive/__tests__/unit/sqip-plugin-primitive.test.ts b/packages/sqip-plugin-primitive/__tests__/unit/sqip-plugin-primitive.test.ts index 781ced42..d31517ab 100644 --- a/packages/sqip-plugin-primitive/__tests__/unit/sqip-plugin-primitive.test.ts +++ b/packages/sqip-plugin-primitive/__tests__/unit/sqip-plugin-primitive.test.ts @@ -18,7 +18,8 @@ jest.mock('os', () => ({ const mockedExeca = execa as jest.MockedFunction mockedExeca.mockImplementation(() => { const result = { - stdout: '' + stdout: + '' } as unknown as ExecaChildProcess return result })