chromaui / learnstorybook-code

Code for Learn Storybook
https://learnstorybook.com
MIT License
396 stars 1.21k forks source link

app.component.spec fails from Angular 'Screens' chapter #73

Closed marckassay closed 2 years ago

marckassay commented 2 years ago

Installing commit 8cb73c6 and executing npm run test fails, at least for me.

I have the following versions installed:

E:\learnstorybook-code [(8cb73c6...)]> node -v
v14.19.0
E:\learnstorybook-code [(8cb73c6...)]> npm -v 
6.14.16

It would be helpful to elaborate on this note section of 'Screens' chapter:

Don't forget to update the test file src/app/app.component.spec.ts. Or the next time you run your tests they will fail.

Because that's where the test is failing. Perhaps updating dependencies first will be a start.

Hope that helps.

jonniebigodes commented 2 years ago

Closing this as it's no longer relevant as the code and tutorial have been updated for Angular 13 and Storybook 6.5.