pubkey.component.spec.ts raw

   1  import { ComponentFixture, TestBed } from '@angular/core/testing';
   2  
   3  import { PubkeyComponent } from './pubkey.component';
   4  
   5  describe('PubkeyComponent', () => {
   6    let component: PubkeyComponent;
   7    let fixture: ComponentFixture<PubkeyComponent>;
   8  
   9    beforeEach(async () => {
  10      await TestBed.configureTestingModule({
  11        imports: [PubkeyComponent]
  12      })
  13      .compileComponents();
  14  
  15      fixture = TestBed.createComponent(PubkeyComponent);
  16      component = fixture.componentInstance;
  17      // Valid test pubkey (64 hex chars)
  18      component.value = 'a'.repeat(64);
  19      fixture.detectChanges();
  20    });
  21  
  22    it('should create', () => {
  23      expect(component).toBeTruthy();
  24    });
  25  });
  26