Fix Tests

This commit is contained in:
chdanielmueller
2019-03-01 11:43:05 +01:00
parent f257e0ca0f
commit ca6acc7eb2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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({
+1 -1
View File
@@ -142,7 +142,7 @@ declare namespace helmet {
export interface IHelmetHstsConfiguration {
maxAge?: number;
includeSubdomains?: boolean;
includeSubDomains?: boolean;
preload?: boolean;
setIf?: IHelmetSetIfFunction;
force?: boolean;