Skip to content

Commit

Permalink
chore(adapter-nextjs): resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Jan 3, 2025
1 parent cf21516 commit ce16bcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ describe('isValidOrigin', () => {
});
});

describe('isNonSSLLocalhostOrigin', () => {
describe('isSSLOrigin', () => {
test.each([
['https://some-app.com', true],
['http://localhost', false],
['http://localhost:3000', false],
['https:// some-app.com', false],
])('check origin is non-SSL localhost %s as %s', (origin, expected) => {
])('check origin SSL %s status as %s', (origin, expected) => {
expect(isSSLOrigin(origin)).toBe(expected);
});
});

0 comments on commit ce16bcd

Please sign in to comment.