Skip to content

Commit fdcb911

Browse files
committed
udpate to Angular 15
1 parent 9d201b7 commit fdcb911

File tree

12 files changed

+3311
-4696
lines changed

12 files changed

+3311
-4696
lines changed

demo/src/demo.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { ReCaptcha3DemoComponent } from './re-captcha-3-demo.component';
2626
{
2727
path: 'recaptcha3', component: ReCaptcha3DemoComponent
2828
},
29-
], { relativeLinkResolution: 'legacy' })
29+
], {})
3030
],
3131
exports: [
3232
RouterModule

demo/test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@ import {
77
platformBrowserDynamicTesting
88
} from '@angular/platform-browser-dynamic/testing';
99

10-
declare const require: any;
11-
1210
// First, initialize the Angular testing environment.
1311
getTestBed().initTestEnvironment(
1412
BrowserDynamicTestingModule,
1513
platformBrowserDynamicTesting()
1614
);
17-
// Then we find all the tests.
18-
const context = require.context('./', true, /\.spec\.ts$/);
19-
// And load the modules.
20-
context.keys().map(context);

demo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"strictNullChecks": true,
1111
"noImplicitReturns": true,
1212
"noStrictGenericChecks": true,
13-
"target": "ES2020",
13+
"target": "ES2022",
1414
"typeRoots": [
1515
"node_modules/@types"
1616
],

0 commit comments

Comments
 (0)