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

Commit fb28e92

Browse files
author
Eimantas Dumse
committed
WIP errors.
1 parent 87f6893 commit fb28e92

File tree

7 files changed

+55
-53
lines changed

7 files changed

+55
-53
lines changed

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

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

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jest.mock("html-webpack-template");
2-
2+
jest.mock("html-webpack-plugin");
33
__dirname = "TEST_PATH";
44

55
jest.mock("upath", () => ({
@@ -8,7 +8,6 @@ jest.mock("upath", () => ({
88
join: (...pathSegments: string[]) => pathSegments.join("//")
99
}));
1010

11-
1211
import { Builder, Configuration } from "@reactway/webpack-builder";
1312
import upath from "upath";
1413
import { HtmlPlugin } from "../plugin";
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-styles/src/__tests__/__snapshots__/plugin.test.ts.snap

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

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
__dirname = "TEST_PATH";
2+
3+
jest.mock("upath", () => ({
4+
...jest.requireActual("upath"),
5+
resolve: (...pathSegments: string[]) => pathSegments.join("//"),
6+
join: (...pathSegments: string[]) => pathSegments.join("//")
7+
}));
8+
9+
110
import { Builder, Configuration } from "@reactway/webpack-builder";
211
import upath from "upath";
312
import * as fs from "fs-extra";

packages/webpack-builder-plugin-typescript/src/__tests__/tsconfig-tslint-not-exist/tsconfig.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/webpack-builder-plugin-typescript/src/__tests__/tsconfig-tslint-not-exist/tslint.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)