import { ComponentFixture, TestBed } from '@angular/core/testing'; import { PageNotFoundComponent } from './page-not-found.component'; describe('PageNotFoundComponent', () => { let component: PageNotFoundComponent; let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ declarations: [PageNotFoundComponent], }).compileComponents(); }); beforeEach(() => { fixture = TestBed.createComponent(PageNotFoundComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); }); >cgit logo index : www.armandphilippot.com
The frontend of my personal website.Armand Philippot
aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/posts-stack.test.tsx
blob: 8f44fa9d54f463725e2d589192bd68ec6117f731 (plain)
1
2
3
4
5
6
7
8
9
import { render } from '@test-utils';
import PostsStack from './posts-stack';

describe('PostsStack', () => {
  it('renders a posts stack icon', () => {
    const { container } = render(<PostsStack />);
    expect(container).toBeDefined();
  });
});