Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Commit 87f6893

Browse files
author
Eimantas Dumse
committed
WIP error solution for tests.
1 parent db89e9e commit 87f6893

File tree

4 files changed

+12
-60
lines changed

4 files changed

+12
-60
lines changed

packages/webpack-builder-plugin-html/src/__tests__/plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
jest.mock("html-webpack-template");
2+
13
__dirname = "TEST_PATH";
24

35
jest.mock("upath", () => ({
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
};

packages/webpack-builder-plugin-typescript/src/__tests__/__snapshots__/plugin.test.ts.snap

Lines changed: 4 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/webpack-builder-plugin-typescript/src/__tests__/plugin.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
jest.mock("fork-ts-checker-webpack-plugin");
2+
jest.mock("tsconfig-paths-webpack-plugin");
23
__dirname = "./src/__tests__/";
34

45
jest.mock("upath", () => ({

0 commit comments

Comments
 (0)