Make sure to check the existing issues in this repository
Please, tell us what's the problem?
[ ] A typo
[x] Wrong documentation
[ ] Improvement of existing article
[ ] Missing documentation
[ ] New article needed
Please, tell us more details
It looks like that (testing)[https://docs.nativescript.org/development-workflow.html#angular-testbed-integration] is giving wrong information regarding import { nsTestBedInit } from "nativescript-angular/testing";
If I install the library with npm i nativescript-angular --save-dev then I receive the following error Cannot find module 'nativescript-angular/testing' or its corresponding type declarations. from the import in the second line of setup.js. However, import { nsTestBedInit } from "@nativescript/angular/testing"; seems to be fixing the import issue.
Make sure to check the existing issues in this repository
Please, tell us what's the problem?
[ ] A typo [x] Wrong documentation [ ] Improvement of existing article [ ] Missing documentation [ ] New article needed
Please, tell us more details
It looks like that (testing)[https://docs.nativescript.org/development-workflow.html#angular-testbed-integration] is giving wrong information regarding
import { nsTestBedInit } from "nativescript-angular/testing";
If I install the library withnpm i nativescript-angular --save-dev
then I receive the following errorCannot find module 'nativescript-angular/testing' or its corresponding type declarations.
from the import in the second line of setup.js. However,import { nsTestBedInit } from "@nativescript/angular/testing";
seems to be fixing the import issue.