diff --git a/jest.config.js b/jest.config.js index 18ff6ab1a1..93045df5ba 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,7 @@ const config = { testPathIgnorePatterns: [ "/node_modules/", "/src/__tests__/setup.ts", + "/src/plugin/packer/__tests__/helpers/", "fixtures", ], }; diff --git a/src/plugin/packer/__tests__/cli.test.ts b/src/plugin/packer/__tests__/cli.test.ts index a623aace06..e21432ef93 100644 --- a/src/plugin/packer/__tests__/cli.test.ts +++ b/src/plugin/packer/__tests__/cli.test.ts @@ -2,7 +2,7 @@ import fs from "fs"; import path from "path"; import { rimraf } from "rimraf"; import { globSync } from "glob"; -import { readZipContentsNames } from "./helper/zip"; +import { readZipContentsNames } from "./helpers/zip"; import cli from "../cli"; import console from "../console"; diff --git a/src/plugin/packer/__tests__/create-contents-zip.test.ts b/src/plugin/packer/__tests__/create-contents-zip.test.ts index 7697c29a13..11da9872c2 100644 --- a/src/plugin/packer/__tests__/create-contents-zip.test.ts +++ b/src/plugin/packer/__tests__/create-contents-zip.test.ts @@ -1,6 +1,6 @@ import path from "path"; import fs from "fs"; -import { readZipContentsNames } from "./helper/zip"; +import { readZipContentsNames } from "./helpers/zip"; import { createContentsZip } from "../create-contents-zip"; const fixturesDir = path.join(__dirname, "fixtures"); diff --git a/src/plugin/packer/__tests__/helper/zip.ts b/src/plugin/packer/__tests__/helpers/zip.ts similarity index 100% rename from src/plugin/packer/__tests__/helper/zip.ts rename to src/plugin/packer/__tests__/helpers/zip.ts diff --git a/src/plugin/packer/__tests__/pack-plugin-from-manifest.test.ts b/src/plugin/packer/__tests__/pack-plugin-from-manifest.test.ts index 15e55de0b5..65de12f1c7 100644 --- a/src/plugin/packer/__tests__/pack-plugin-from-manifest.test.ts +++ b/src/plugin/packer/__tests__/pack-plugin-from-manifest.test.ts @@ -1,6 +1,6 @@ import path from "path"; import fs from "fs"; -import { readZipContentsNames } from "./helper/zip"; +import { readZipContentsNames } from "./helpers/zip"; import packer from "../index"; import { packPluginFromManifest } from "../pack-plugin-from-manifest"; import { createContentsZip } from "../create-contents-zip"; diff --git a/src/plugin/packer/__tests__/packer.test.ts b/src/plugin/packer/__tests__/packer.test.ts index 31feed4fbd..d8b3714288 100644 --- a/src/plugin/packer/__tests__/packer.test.ts +++ b/src/plugin/packer/__tests__/packer.test.ts @@ -4,7 +4,7 @@ import fs from "fs"; import RSA from "node-rsa"; import yauzl from "yauzl"; -import { readZipContentsNames } from "./helper/zip"; +import { readZipContentsNames } from "./helpers/zip"; import packer from "../index";