'Not able to run jest test cases using vscode debuggers
I am trying to run jest test cases for angular using jest runner and jest run it visual studio extensions. But I am getting the following error.
SyntaxError: D:\Voyager\Voyager Source Ranjith\Voyager_Main\Voyager_UI\VoyagerApp\apps\projects\client-patient\src\app\components\view-account\add-owner-caretaker\add-owner-caretaker.component.spec.ts: Support for the experimental syntax 'decorators-legacy' isn't currently enabled (60:1):
58 | import { NotificationService } from '../../../../../../../libraries/data-services/src/lib/client-patient/notification/services/notification.service';
59 | import { PatientIntervalFacadeService } from '../../../modules/reference-data/patient-interval/services/patient-interval-facade.service';
> 60 | @Pipe({
| ^
61 | name: 'translate',
62 | })
63 | export class TranslatePipeMock implements PipeTransform {
Please help me out of this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
