From c48a3d2feddf658506d3287cb39d41f7459aa1f0 Mon Sep 17 00:00:00 2001 From: Kirill Konshin Date: Mon, 11 May 2020 14:08:19 -0700 Subject: [PATCH] Fix test after Next upgrade --- README.md | 2 +- packages/demo-page/tests/index.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c41f3aa..a41f2d3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A HOC that brings Next.js and Redux together -:warning: The current version of this library only works with Next.js 9.3 and newer. If you are required to use Next.js 6-9 you can use version 3-5 of this library. Otherwise, consider upgrading Next.js. :warning: +:warning: The current version of this library only works with Next.js 9.3 and newer. If you are required to use Next.js 6-9 you can use version 3-5 of this library, see [branches](https://github.com/kirill-konshin/next-redux-wrapper/branches). Otherwise, consider upgrading Next.js. :warning: Contents: diff --git a/packages/demo-page/tests/index.spec.ts b/packages/demo-page/tests/index.spec.ts index 0b44df2..ac3897d 100644 --- a/packages/demo-page/tests/index.spec.ts +++ b/packages/demo-page/tests/index.spec.ts @@ -23,7 +23,7 @@ describe('Basic integration', () => { await page.waitForSelector('div.index'); - await expect(page).toMatch('"page": "was set in index page /"'); + await expect(page).toMatch('"page": "was set in index page'); await expect(page).toMatch('"custom": "custom"'); }); });