Skip to content

Commit

Permalink
Change in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
foxxor committed Jan 21, 2021
1 parent 202fc8a commit ac0c0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/github-issues/7253/issue-7253.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe("github issues > #7253 Allow migration files to be output in Javascript
enabledDrivers
});
connectionOptionsReader = new ConnectionOptionsReader();
baseConnectionOptions = await connectionOptionsReader.get(connectionOptions[0].name as string);

migrationGenerateCommand = new MigrationGenerateCommand();
migrationCreateCommand = new MigrationCreateCommand();
Expand All @@ -58,7 +59,6 @@ describe("github issues > #7253 Allow migration files to be output in Javascript
});

beforeEach(async () => {
baseConnectionOptions = await connectionOptionsReader.get(connectionOptions[0].name as string);
getConnectionOptionsStub = sinon.stub(ConnectionOptionsReader.prototype, "get").resolves({
...baseConnectionOptions,
entities: [Post]
Expand Down

0 comments on commit ac0c0a8

Please sign in to comment.