diff --git a/packages/catalog-model/src/kinds/index.ts b/packages/catalog-model/src/kinds/index.ts index 97d22c14a5..ed79fed61d 100644 --- a/packages/catalog-model/src/kinds/index.ts +++ b/packages/catalog-model/src/kinds/index.ts @@ -14,7 +14,8 @@ * limitations under the License. */ -import type { ComponentV1beta1 } from './ComponentV1beta1'; +export type { + ComponentV1beta1, + ComponentV1beta1 as Component, +} from './ComponentV1beta1'; export { ComponentV1beta1Policy } from './ComponentV1beta1'; -export { ComponentV1beta1 as Component }; -export { ComponentV1beta1 }; diff --git a/packages/catalog-model/src/setupTests.ts b/packages/catalog-model/src/setupTests.ts index f3b69cc361..ba33cf996b 100644 --- a/packages/catalog-model/src/setupTests.ts +++ b/packages/catalog-model/src/setupTests.ts @@ -13,3 +13,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +export {}; diff --git a/packages/cli/config/tsconfig.json b/packages/cli/config/tsconfig.json index 9f02bfcafe..f6d622ee16 100644 --- a/packages/cli/config/tsconfig.json +++ b/packages/cli/config/tsconfig.json @@ -9,7 +9,7 @@ "forceConsistentCasingInFileNames": true, "importHelpers": false, "incremental": true, - "isolatedModules": false, + "isolatedModules": true, "jsx": "react", "lib": ["DOM", "DOM.Iterable", "ScriptHost", "ES2019"], "module": "ESNext", diff --git a/packages/cli/src/commands/lint.ts b/packages/cli/src/commands/lint.ts index 7eeedcbe29..41e69c51be 100644 --- a/packages/cli/src/commands/lint.ts +++ b/packages/cli/src/commands/lint.ts @@ -20,8 +20,7 @@ import { paths } from '../lib/paths'; export default async (cmd: Command) => { const args = [ - '--ext', - 'js,jsx,ts,tsx', + '--ext=js,jsx,ts,tsx', '--max-warnings=0', '--format=codeframe', paths.targetDir, diff --git a/plugins/auth-backend/src/providers/OAuthProvider.test.ts b/plugins/auth-backend/src/providers/OAuthProvider.test.ts deleted file mode 100644 index 308849057b..0000000000 --- a/plugins/auth-backend/src/providers/OAuthProvider.test.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -describe('OAuthProvider', () => { - it('unbreak test runner', () => { - expect(true).toBeTruthy(); - }); -}); diff --git a/plugins/auth-backend/src/providers/index.test.ts b/plugins/auth-backend/src/providers/index.test.ts index b3e2f19771..7f39d9de57 100644 --- a/plugins/auth-backend/src/providers/index.test.ts +++ b/plugins/auth-backend/src/providers/index.test.ts @@ -14,8 +14,10 @@ * limitations under the License. */ +import { defaultRouter } from '.'; + describe('test', () => { it('unbreaks the test runner', () => { - expect(true).toBeTruthy(); + expect(defaultRouter).toBeDefined(); }); });