Skip to content

Commit

Permalink
Fix npm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avdev4j committed Aug 13, 2020
1 parent 3eed72d commit e79cfa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/client.spec.js
Expand Up @@ -28,6 +28,7 @@ describe('JHipster client generator', () => {
});
it('creates expected files for react configuration for client generator', () => {
assert.noFile(expectedFiles.maven);
assert.file(expectedFiles.clientCommon);
assert.file(
getFilesForOptions(reactFiles, {
enableTranslation: true,
Expand Down Expand Up @@ -63,6 +64,7 @@ describe('JHipster client generator', () => {
assert.noFile(expectedFiles.server);
assert.noFile(expectedFiles.maven);
assert.file(expectedFiles.i18nJson);
assert.file(expectedFiles.clientCommon);
assert.file(
getFilesForOptions(angularFiles, {
enableTranslation: true,
Expand Down
3 changes: 2 additions & 1 deletion test/utils/expected-files.js
Expand Up @@ -367,7 +367,6 @@ const expectedFiles = {
client: [
'angular.json',
'.eslintrc.json',
'.eslintignore',
'package.json',
'postcss.config.js',
'proxy.conf.json',
Expand Down Expand Up @@ -532,6 +531,8 @@ const expectedFiles = {
'webpack/webpack.prod.js',
],

clientCommon: ['.eslintignore'],

i18n: [
`${SERVER_MAIN_RES_DIR}i18n/messages_en.properties`,
`${SERVER_MAIN_RES_DIR}i18n/messages_fr.properties`,
Expand Down

0 comments on commit e79cfa7

Please sign in to comment.