1 import { TestBed } from '@angular/core/testing';
3 import { I18n } from '@ngx-translate/i18n-polyfill';
5 import { configureTestBed, i18nProviders } from '../../../testing/unit-test-helper';
6 import { Copy2ClipboardButtonDirective } from './copy2clipboard-button.directive';
8 describe('Copy2clipboardButtonDirective', () => {
10 providers: [i18nProviders]
13 it('should create an instance', () => {
14 const i18n = TestBed.get(I18n);
15 const directive = new Copy2ClipboardButtonDirective(null, null, null, i18n);
16 expect(directive).toBeTruthy();