From 7f908c78a0c9b59793ba965b1a9761e8ab0c6760 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Tue, 22 Oct 2019 11:44:01 -0400 Subject: [PATCH] Reenable AMP Tests --- test/integration/amp-export-validation/test/index.test.js | 2 +- test/integration/amphtml-fragment-style/test/index.test.js | 2 +- test/integration/amphtml/test/index.test.js | 2 +- test/integration/styled-jsx-module/test/index.test.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/integration/amp-export-validation/test/index.test.js b/test/integration/amp-export-validation/test/index.test.js index bb5993fff739e..70b8fee60a097 100644 --- a/test/integration/amp-export-validation/test/index.test.js +++ b/test/integration/amp-export-validation/test/index.test.js @@ -15,7 +15,7 @@ const nextConfig = new File(join(appDir, 'next.config.js')) let buildOutput -xdescribe('AMP Validation on Export', () => { +describe('AMP Validation on Export', () => { beforeAll(async () => { const { stdout = '', stderr = '' } = await nextBuild(appDir, [], { stdout: true, diff --git a/test/integration/amphtml-fragment-style/test/index.test.js b/test/integration/amphtml-fragment-style/test/index.test.js index 42a29e9178bc5..64184e7019fa3 100644 --- a/test/integration/amphtml-fragment-style/test/index.test.js +++ b/test/integration/amphtml-fragment-style/test/index.test.js @@ -17,7 +17,7 @@ let appPort let server let app -xdescribe('AMP Fragment Styles', () => { +describe('AMP Fragment Styles', () => { beforeAll(async () => { await nextBuild(appDir) app = nextServer({ diff --git a/test/integration/amphtml/test/index.test.js b/test/integration/amphtml/test/index.test.js index f9bf7d78ac464..bbbe78c127ce1 100644 --- a/test/integration/amphtml/test/index.test.js +++ b/test/integration/amphtml/test/index.test.js @@ -27,7 +27,7 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5 const context = {} -xdescribe('AMP Usage', () => { +describe('AMP Usage', () => { beforeAll(async () => { await nextBuild(appDir) app = nextServer({ diff --git a/test/integration/styled-jsx-module/test/index.test.js b/test/integration/styled-jsx-module/test/index.test.js index 400ca4fddabfc..223d4da7a8717 100644 --- a/test/integration/styled-jsx-module/test/index.test.js +++ b/test/integration/styled-jsx-module/test/index.test.js @@ -27,7 +27,7 @@ function runTests () { expect(color).toMatch('0, 255, 255') }) - xit('should render styles during CSR (AMP)', async () => { + it('should render styles during CSR (AMP)', async () => { const browser = await webdriver(appPort, '/amp') const color = await browser.eval( `getComputedStyle(document.querySelector('button')).color` @@ -41,7 +41,7 @@ function runTests () { expect(html).toMatch(/color:.*?cyan/) }) - xit('should render styles during SSR (AMP)', async () => { + it('should render styles during SSR (AMP)', async () => { const html = await renderViaHTTP(appPort, '/amp') expect(html).toMatch(/color:.*?cyan/) })