Skip to content

Commit

Permalink
exlude helpers from test target
Browse files Browse the repository at this point in the history
  • Loading branch information
tasshi-me committed Oct 24, 2024
1 parent 4a57cd7 commit ee82248
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const config = {
testPathIgnorePatterns: [
"<rootDir>/node_modules/",
"<rootDir>/src/__tests__/setup.ts",
"<rootDir>/src/plugin/packer/__tests__/helpers/",
"fixtures",
],
};
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/packer/__tests__/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/plugin/packer/__tests__/create-contents-zip.test.ts
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/packer/__tests__/packer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit ee82248

Please sign in to comment.