From 24baec633e0c91d0b1896299886412fdbac62536 Mon Sep 17 00:00:00 2001 From: Sanjeet Uppal Date: Tue, 19 Sep 2017 15:23:19 -0700 Subject: [PATCH] Change assertion order --- packages/api-explorer-ui/__tests__/index.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-explorer-ui/__tests__/index.test.jsx b/packages/api-explorer-ui/__tests__/index.test.jsx index 737c5b003..0d672c2f8 100644 --- a/packages/api-explorer-ui/__tests__/index.test.jsx +++ b/packages/api-explorer-ui/__tests__/index.test.jsx @@ -55,7 +55,7 @@ describe('selected language', () => { explorer.instance().setLanguage('language'); expect(explorer.state('language')).toBe('language'); - expect(explorer.state('language')).toBe(Cookie.get('readme_language')); + expect(Cookie.get('readme_language')).toBe('language'); }); });