diff --git a/src/chronos/public_api.ts b/src/chronos/public_api.ts index 3092a390db..bb3cc0445b 100644 --- a/src/chronos/public_api.ts +++ b/src/chronos/public_api.ts @@ -50,7 +50,7 @@ export { esUsLocale } from './i18n/es-us'; export { etLocale } from './i18n/et'; export { fiLocale } from './i18n/fi'; export { frLocale } from './i18n/fr'; -export {frCaLocale} from './i18n/fr-ca'; +export { frCaLocale } from './i18n/fr-ca'; export { glLocale } from './i18n/gl'; export { heLocale } from './i18n/he'; export { hiLocale } from './i18n/hi'; diff --git a/src/locale/public_api.ts b/src/locale/public_api.ts index c3932ae907..23d8c3f527 100644 --- a/src/locale/public_api.ts +++ b/src/locale/public_api.ts @@ -12,7 +12,7 @@ export { esUsLocale } from 'ngx-bootstrap/chronos'; export { etLocale } from 'ngx-bootstrap/chronos'; export { fiLocale } from 'ngx-bootstrap/chronos'; export { frLocale } from 'ngx-bootstrap/chronos'; -export {frCaLocale} from 'ngx-bootstrap/chronos'; +export { frCaLocale } from 'ngx-bootstrap/chronos'; export { glLocale } from 'ngx-bootstrap/chronos'; export { heLocale } from 'ngx-bootstrap/chronos'; export { hiLocale } from 'ngx-bootstrap/chronos'; diff --git a/src/timepicker/jest.config.ts b/src/timepicker/jest.config.ts index 41be90a3ca..7dd852669d 100644 --- a/src/timepicker/jest.config.ts +++ b/src/timepicker/jest.config.ts @@ -15,7 +15,8 @@ export default { 'jest-preset-angular', { tsconfig: '/tsconfig.spec.json', - stringifyContentPathRegex: '\\.(html|svg)$' + stringifyContentPathRegex: '\\.(html|svg)$', + isolatedModules: true } ] }, diff --git a/src/timepicker/testing/timepicker.component.spec.ts b/src/timepicker/testing/timepicker.component.spec.ts index 68e8ca7a66..6183d4d40f 100644 --- a/src/timepicker/testing/timepicker.component.spec.ts +++ b/src/timepicker/testing/timepicker.component.spec.ts @@ -1077,7 +1077,7 @@ describe('Component: TimepickerComponent', () => { component.updateHours(inputHours); expect(component.invalidHours).toEqual(false); - expect(component._updateTime).toHaveBeenCalled(); + expect(component._updateTime).toHaveBeenCalled(); }); it('should clear model if minute input is invalid', () => { @@ -1117,7 +1117,7 @@ describe('Component: TimepickerComponent', () => { component.updateMinutes(inputMinutes); expect(component.invalidMinutes).toEqual(false); - expect(component._updateTime).toHaveBeenCalled(); + expect(component._updateTime).toHaveBeenCalled(); }); it('should clear model if second input is invalid', () => { @@ -1159,7 +1159,7 @@ describe('Component: TimepickerComponent', () => { component.updateSeconds(inputSeconds); expect(component.invalidSeconds).toEqual(false); - expect(component._updateTime).toHaveBeenCalled(); + expect(component._updateTime).toHaveBeenCalled(); }); it('should valid value in input fields', fakeAsync(() => {