Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omeraplak committed Dec 13, 2022
1 parent c252498 commit 3155d20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superplate-cli",
"version": "1.11.4",
"version": "1.11.5",
"description": "The frontend boilerplate with superpowers",
"license": "MIT",
"repository": {
Expand Down
4 changes: 1 addition & 3 deletions src/Helper/source/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { promisify } from "util";
import { get_source } from "./";
jest.mock("util", () => ({
promisify: jest.fn(() => {
throw new Error();
}),
promisify: jest.fn(),
inherits: () => ({
custom: {},
}),
Expand Down

0 comments on commit 3155d20

Please sign in to comment.