Skip to content

Commit dbf1f65

Browse files
committed
test: fixed tests
1 parent afca27f commit dbf1f65

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superplate-cli",
3-
"version": "1.11.0",
3+
"version": "1.11.1",
44
"description": "The frontend boilerplate with superpowers",
55
"license": "MIT",
66
"repository": {

src/Helper/source/index.spec.ts

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ jest.mock("util", () => ({
44
promisify: jest.fn(() => {
55
throw new Error();
66
}),
7+
inherits: () => ({
8+
custom: {},
9+
}),
10+
inspect: () => ({}),
711
}));
812
describe("Source Helper", () => {
913
it("incorrect source url/path", async () => {

0 commit comments

Comments
 (0)