A
A
Alexander Belov2017-01-08 12:12:29
Angular
Alexander Belov, 2017-01-08 12:12:29

Webpack Angular2. Automatic creation of files with spec.ts extension?

Understanding Webpack , cloned from here
https://github.com/preboot/angular2-webpack#depend...
The project structure implies folders with files, like:
my.component.html
my.component.ts
my.component.spec.ts
my.component.scss

But when you create a new component, the files are not automatically created (as was the case with typings when I did projects without webpack).
Which dependency creates spec.ts files?
Or maybe there is a link to the webpack start project, where it is already configured to create new files automatically?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2017-01-08
@planc

spec - these are tests
for angular2 there is such a thing - https://cli.angular.io/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question