Skip to content

Commit

Permalink
test(): minor style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Sep 12, 2022
1 parent 649ec08 commit 57456f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions test/lib/configuration/nest-configuration.loader.spec.ts
@@ -1,7 +1,6 @@
import { Configuration, ConfigurationLoader } from '../../../lib/configuration';
import { NestConfigurationLoader } from '../../../lib/configuration/nest-configuration.loader';
import { Reader } from '../../../lib/readers';
import { getDefaultTsconfigPath } from '../../../lib/utils/get-default-tsconfig-path';

describe('Nest Configuration Loader', () => {
let reader: Reader;
Expand Down Expand Up @@ -49,7 +48,7 @@ describe('Nest Configuration Loader', () => {
compilerOptions: {
assets: [],
plugins: [],
tsConfigPath: getDefaultTsconfigPath(),
tsConfigPath: 'tsconfig.build.json',
webpack: false,
webpackConfigPath: 'webpack.config.js',
},
Expand All @@ -72,7 +71,7 @@ describe('Nest Configuration Loader', () => {
compilerOptions: {
assets: [],
plugins: [],
tsConfigPath: getDefaultTsconfigPath(),
tsConfigPath: 'tsconfig.build.json',
webpack: false,
webpackConfigPath: 'webpack.config.js',
},
Expand Down
2 changes: 1 addition & 1 deletion test/lib/utils/get-default-tsconfig-path.spec.ts
Expand Up @@ -7,7 +7,7 @@ jest.mock('fs', () => {
};
});

describe('get default tsconfig path', () => {
describe('getDefaultTsconfigPath', () => {
afterAll(() => {
jest.clearAllMocks();
});
Expand Down

0 comments on commit 57456f9

Please sign in to comment.