I am learning angular testing and write simple testing code and it shows me error in it. In my app folder, I had created a test.spect.ts file that contains the following code.
describe('app',()=>{
it('should display original title', () => {
expect(true).toBe(true);
});
});
using ng test I am trying to run the code and here comes the error.
is not digitally about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ ng test
+ ~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Please help I am just on learning phase.