From a4273b81ded75edffe1b20d3d7484b01f4071842 Mon Sep 17 00:00:00 2001 From: spalger Date: Wed, 17 Aug 2016 19:47:14 -0700 Subject: [PATCH] [test_utils] move StubBrowserStorage to a more central location Former-commit-id: 59c84f0fe80f81fd7b49fd404c8cd7da68c03784 --- .../__tests__/fixtures => test_utils}/stub_browser_storage.js | 0 src/ui/public/chrome/api/__tests__/apps.js | 2 +- src/ui/public/chrome/api/__tests__/nav.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{ui/public/chrome/__tests__/fixtures => test_utils}/stub_browser_storage.js (100%) diff --git a/src/ui/public/chrome/__tests__/fixtures/stub_browser_storage.js b/src/test_utils/stub_browser_storage.js similarity index 100% rename from src/ui/public/chrome/__tests__/fixtures/stub_browser_storage.js rename to src/test_utils/stub_browser_storage.js diff --git a/src/ui/public/chrome/api/__tests__/apps.js b/src/ui/public/chrome/api/__tests__/apps.js index 273635b9cc418..54f3a8a61dd81 100644 --- a/src/ui/public/chrome/api/__tests__/apps.js +++ b/src/ui/public/chrome/api/__tests__/apps.js @@ -1,7 +1,7 @@ import expect from 'expect.js'; import setup from '../apps'; -import StubBrowserStorage from '../../__tests__/fixtures/stub_browser_storage'; +import StubBrowserStorage from 'test_utils/stub_browser_storage'; describe('Chrome API :: apps', function () { describe('#get/setShowAppsLink()', function () { diff --git a/src/ui/public/chrome/api/__tests__/nav.js b/src/ui/public/chrome/api/__tests__/nav.js index 18de366430712..12d44e221bd07 100644 --- a/src/ui/public/chrome/api/__tests__/nav.js +++ b/src/ui/public/chrome/api/__tests__/nav.js @@ -1,7 +1,7 @@ import expect from 'expect.js'; import initChromeNavApi from 'ui/chrome/api/nav'; -import StubBrowserStorage from '../../__tests__/fixtures/stub_browser_storage'; +import StubBrowserStorage from 'test_utils/stub_browser_storage'; const basePath = '/someBasePath';