mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fix Tests
This commit is contained in:
@@ -122,13 +122,13 @@ function hpkpTest() {
|
||||
app.use(helmet.hpkp({
|
||||
maxAge: 7776000000,
|
||||
sha256s: ['AbCdEf123=', 'ZyXwVu456='],
|
||||
includeSubdomains: false
|
||||
includeSubDomains: false
|
||||
}));
|
||||
|
||||
app.use(helmet.hpkp({
|
||||
maxAge: 7776000000,
|
||||
sha256s: ['AbCdEf123=', 'ZyXwVu456='],
|
||||
includeSubdomains: true
|
||||
includeSubDomains: true
|
||||
}));
|
||||
|
||||
app.use(helmet.hpkp({
|
||||
@@ -164,7 +164,7 @@ function hstsTest() {
|
||||
|
||||
app.use(helmet.hsts({
|
||||
maxAge: 7776000000,
|
||||
includeSubdomains: true
|
||||
includeSubDomains: true
|
||||
}));
|
||||
|
||||
app.use(helmet.hsts({
|
||||
|
||||
Vendored
+1
-1
@@ -142,7 +142,7 @@ declare namespace helmet {
|
||||
|
||||
export interface IHelmetHstsConfiguration {
|
||||
maxAge?: number;
|
||||
includeSubdomains?: boolean;
|
||||
includeSubDomains?: boolean;
|
||||
preload?: boolean;
|
||||
setIf?: IHelmetSetIfFunction;
|
||||
force?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user