Skip to content

Commit

Permalink
fix: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rfermann committed Apr 19, 2021
1 parent 7f6f203 commit 96c1ca1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Generator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export class Generator {

private _inputTypeHandler!: InputTypeHandler;

private _outputTypeHandler!: OutputTypeHandler;

private _modelHandler!: ModelHandler;

private _outputTypeHandler!: OutputTypeHandler;

constructor({ generator, otherGenerators }: GeneratorOptions) {
this._config = new GeneratorConfig({ generator, otherGenerators });
}
Expand Down
5 changes: 4 additions & 1 deletion src/Handlers/EnumHandler/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { importDmmf } from "../../helpers";

import { EnumHandler } from ".";

// eslint-disable-next-line max-lines-per-function
describe("EnumHandler", () => {
// eslint-disable-next-line jest/no-hooks
beforeAll(async () => {
Expand All @@ -29,6 +28,7 @@ describe("EnumHandler", () => {
enums: "./enum",
inputTypes: "",
model: "model",
outputTypes: "",
shared: "",
},
prismaClientImportPath: `${process.cwd()}/node_modules/@prisma/client`,
Expand Down Expand Up @@ -64,6 +64,7 @@ describe("EnumHandler", () => {
enums: "./enum",
inputTypes: "",
model: "model",
outputTypes: "",
shared: "",
},
prismaClientImportPath: "",
Expand Down Expand Up @@ -95,6 +96,7 @@ describe("EnumHandler", () => {
enums: "./enum",
inputTypes: "",
model: "model",
outputTypes: "",
shared: "",
},
prismaClientImportPath: `${process.cwd()}/node_modules/@prisma/client`,
Expand Down Expand Up @@ -155,6 +157,7 @@ describe("EnumHandler", () => {
enums: "./enum",
inputTypes: "",
model: "model",
outputTypes: "",
shared: "",
},
prismaClientImportPath: `${process.cwd()}/node_modules/@prisma/client`,
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/ModelHandler/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("ModelHandler", () => {
enums: "enums",
inputTypes: "",
model: "model",
outputTypes: "outputTypes",
outputTypes: "",
shared: "",
},
prismaClientImportPath: `${process.cwd()}/node_modules/@prisma/client`,
Expand Down

0 comments on commit 96c1ca1

Please sign in to comment.