Skip to content

Commit

Permalink
Merge pull request #25 from ezzatron/renovate/prettier-plugin-organiz…
Browse files Browse the repository at this point in the history
…e-imports-4.x

Update dependency prettier-plugin-organize-imports to v4
  • Loading branch information
ezzatron authored Jul 8, 2024
2 parents 1a11afa + faf0780 commit 55d54cf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vitest": "^0.4.0",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^3.0.1",
"prettier-plugin-organize-imports": "^4.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vite": "^5.1.6",
Expand Down
2 changes: 1 addition & 1 deletion test/suite/initialize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe("initialize()", () => {
beforeEach(() => {
exitCode = undefined;
vi.spyOn(process, "exit").mockImplementation((code) => {
exitCode = code ?? 0;
exitCode = (code ?? 0) as number;

return undefined as never;
});
Expand Down
2 changes: 1 addition & 1 deletion test/suite/specification-prettier.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("Specification documents (Prettier unavailable)", () => {
beforeEach(() => {
exitCode = undefined;
vi.spyOn(process, "exit").mockImplementation((code) => {
exitCode = code ?? 0;
exitCode = (code ?? 0) as number;

return undefined as never;
});
Expand Down
2 changes: 1 addition & 1 deletion test/suite/specification.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("Specification documents", () => {
beforeEach(() => {
exitCode = undefined;
vi.spyOn(process, "exit").mockImplementation((code) => {
exitCode = code ?? 0;
exitCode = (code ?? 0) as number;

return undefined as never;
});
Expand Down
2 changes: 1 addition & 1 deletion test/suite/summary.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("Validation summary", () => {
beforeEach(() => {
exitCode = undefined;
vi.spyOn(process, "exit").mockImplementation((code) => {
exitCode = code ?? 0;
exitCode = (code ?? 0) as number;

return undefined as never;
});
Expand Down

0 comments on commit 55d54cf

Please sign in to comment.