carbon-design-system / carbon-design-system/carbon-tutorial-angular

Step 2: ng test error in repo-table.component.spec.ts

Open
#123 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
20
Forks
883
PR merge metrics
No merged PRs in 30d

Description

Had to resolve `ng test` error after completing Step 2 in the tutorial.

The tutorial steps do not mention adding:

1. `import { TableModule } from 'carbon-components-angular';` to the file head
2. `imports: [ TableModule ]` to the `TestBed` declaration

These steps should be added to [Build repo page](https://www.carbondesignsystem.com/tutorial/angular/step-2/#build-repo-page) tutorial steps.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.