Skip to content

Commit

Permalink
Skip couple of jwt tests in Safari until ampproject#6292 (ampproject#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aghassemi authored and Vanessa Pasque committed Dec 22, 2016
1 parent d136191 commit aff0633
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extensions/amp-access/0.1/test/test-jwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ describe('JwtHelper', () => {
afterEach(() => {
});

it('should decode and verify token correctly', () => {
// TODO(aghassemi, 6292): Unskip for Safari after #6292
it.configure().skipSafari().run('should decode and verify token correctly',
() => {
// Skip on non-subtle browser.
if (!helper.isVerificationSupported()) {
return;
Expand All @@ -124,7 +126,7 @@ describe('JwtHelper', () => {
});
});

it('should fail invalid signature', () => {
it.configure().skipSafari().run('should fail invalid signature', () => {
// Skip on non-subtle browser.
if (!helper.isVerificationSupported()) {
return;
Expand Down

0 comments on commit aff0633

Please sign in to comment.