I have installed chancejs using the command below:
npm install chance
I have created an angular 10 project and cannot find any chance.js library added. When I try to use the chance methods such as chance.string() in the file employee.component.spec.ts, it says chance does not exist.
var randomName = **chance**.string();
I have checked other tutorials where they are importing the script directly into the html component. But is there another way to import it as a Module in typescript?