From cdeb2ae758c0f6a9f56d45da951bb4495ca49268 Mon Sep 17 00:00:00 2001 From: Badisi Date: Tue, 16 Jan 2024 09:48:30 +0100 Subject: [PATCH] fix: tests --- projects/lib/schematics/ng-add/ng-add.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/lib/schematics/ng-add/ng-add.spec.ts b/projects/lib/schematics/ng-add/ng-add.spec.ts index 452bfd6..1a9c683 100644 --- a/projects/lib/schematics/ng-add/ng-add.spec.ts +++ b/projects/lib/schematics/ng-add/ng-add.spec.ts @@ -62,7 +62,7 @@ const joc = jasmine.objectContaining; expect(mainTsContent).toContain('import { initSentry } from \'@hug/ngx-sentry\';'); } expect(mainTsContent).toContain('import { isDevMode } from \'@angular/core\';'); - expect(mainTsContent).toContain('import packageJson from \'package.json\';'); + expect(mainTsContent).toContain('import packageJson from \'../package.json\';'); expect(mainTsContent).toContain('initSentry({\n' + ` dsn: '${defaultOptions.dsnUrl}',\n` + ' environment: \'DEV\', // replace it with your own value\n' +