Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip SW Core tests on Browsers without Request #5470

Merged
merged 2 commits into from Oct 14, 2016

Conversation

jridgewell
Copy link
Contributor

Closes #5461.

@@ -74,7 +74,8 @@ const sw =
require('../../src/service-worker/core'); // eslint-disable-line no-undef
window.self = old;

describe('Cache SW', () => {
const runner = describe.configure().skip(() => typeof Request == 'undefined');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@lannka lannka added LGTM and removed NEEDS REVIEW labels Oct 10, 2016
@jridgewell
Copy link
Contributor Author

Blocked by #5528.

@jridgewell jridgewell merged commit ffe5267 into ampproject:master Oct 14, 2016
@jridgewell jridgewell deleted the sw-core-test-guard branch October 14, 2016 22:35
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
* Skip SW Core tests on Browsers without Request

* Lint
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
* Skip SW Core tests on Browsers without Request

* Lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants