Skip to content

Commit

Permalink
review(issue#85): alpha sort, after self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
gpinto67 committed Mar 21, 2023
1 parent dd06954 commit 05b4a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/koa-helmet.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ test('it sets individual headers properly', t => {
force: true
})
);
app.use(helmet.contentSecurityPolicy());
app.use(helmet.crossOriginEmbedderPolicy());
app.use(helmet.crossOriginOpenerPolicy());
app.use(helmet.crossOriginResourcePolicy());
app.use(helmet.contentSecurityPolicy());
app.use(
helmet.dnsPrefetchControl({
allow: false,
Expand Down Expand Up @@ -103,7 +103,7 @@ test('it sets individual headers properly', t => {

// crossOriginResourcePolicy
.expect('Cross-Origin-Resource-Policy', 'same-origin')

// dnsPrefetchControl
.expect('X-DNS-Prefetch-Control', 'off')

Expand Down

0 comments on commit 05b4a96

Please sign in to comment.