From 95a52dd5357e3fd083947ca49c87cbcf14ca4ac4 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 10 Apr 2018 17:05:47 -0400 Subject: [PATCH] Remove old fixtures directory --- fixtures/kitchensink/.env.development | 3 --- fixtures/kitchensink/.env.local | 3 --- fixtures/kitchensink/.env.production | 3 --- .../src/features/env/PublicUrl.test.js | 16 ------------- .../src/features/webpack/LinkedModules.js | 18 --------------- .../features/webpack/LinkedModules.test.js | 23 ------------------- fixtures/kitchensink/src/index.js | 11 --------- 7 files changed, 77 deletions(-) delete mode 100644 fixtures/kitchensink/.env.development delete mode 100644 fixtures/kitchensink/.env.local delete mode 100644 fixtures/kitchensink/.env.production delete mode 100644 fixtures/kitchensink/src/features/env/PublicUrl.test.js delete mode 100644 fixtures/kitchensink/src/features/webpack/LinkedModules.js delete mode 100644 fixtures/kitchensink/src/features/webpack/LinkedModules.test.js delete mode 100644 fixtures/kitchensink/src/index.js diff --git a/fixtures/kitchensink/.env.development b/fixtures/kitchensink/.env.development deleted file mode 100644 index 85e874b..0000000 --- a/fixtures/kitchensink/.env.development +++ /dev/null @@ -1,3 +0,0 @@ -BROWSER=none -INFERNO_APP_X = x-from-development-env -INFERNO_APP_DEVELOPMENT = development diff --git a/fixtures/kitchensink/.env.local b/fixtures/kitchensink/.env.local deleted file mode 100644 index d3051b2..0000000 --- a/fixtures/kitchensink/.env.local +++ /dev/null @@ -1,3 +0,0 @@ -BROWSER=none -INFERNO_APP_X = x-from-original-local-env -INFERNO_APP_ORIGINAL_2 = override-from-original-local-env-2 diff --git a/fixtures/kitchensink/.env.production b/fixtures/kitchensink/.env.production deleted file mode 100644 index 1e74b1a..0000000 --- a/fixtures/kitchensink/.env.production +++ /dev/null @@ -1,3 +0,0 @@ -BROWSER=none -INFERNO_APP_X = x-from-production-env -INFERNO_APP_PRODUCTION = production diff --git a/fixtures/kitchensink/src/features/env/PublicUrl.test.js b/fixtures/kitchensink/src/features/env/PublicUrl.test.js deleted file mode 100644 index 66763b8..0000000 --- a/fixtures/kitchensink/src/features/env/PublicUrl.test.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import { render } from 'inferno'; -import PublicUrl from './PublicUrl'; - -describe('PUBLIC_URL', () => { - it('renders without crashing', () => { - const div = document.createElement('div'); - render(, div); - }); -}); diff --git a/fixtures/kitchensink/src/features/webpack/LinkedModules.js b/fixtures/kitchensink/src/features/webpack/LinkedModules.js deleted file mode 100644 index 1687455..0000000 --- a/fixtures/kitchensink/src/features/webpack/LinkedModules.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import Inferno from 'inferno'; -import './assets/style.css'; -import { test, version } from 'test-integrity'; - -export default () => { - const v = version(); - if (!test() || v !== '2.0.0') { - throw new Error('Functionality test did not pass.'); - } - return

{v}

; -}; diff --git a/fixtures/kitchensink/src/features/webpack/LinkedModules.test.js b/fixtures/kitchensink/src/features/webpack/LinkedModules.test.js deleted file mode 100644 index a484ac1..0000000 --- a/fixtures/kitchensink/src/features/webpack/LinkedModules.test.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import Inferno from 'inferno'; -import InfernoDOM from 'inferno-dom'; -import { test, version } from 'test-integrity'; -import LinkedModules from './LinkedModules'; - -describe('linked modules', () => { - it('has integrity', () => { - expect(test()); - expect(version() === '2.0.0'); - }); - - it('renders without crashing', () => { - const div = document.createElement('div'); - InfernoDOM.render(, div); - }); -}); diff --git a/fixtures/kitchensink/src/index.js b/fixtures/kitchensink/src/index.js deleted file mode 100644 index 395e87d..0000000 --- a/fixtures/kitchensink/src/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import { render } from 'inferno'; -import App from './App'; - -render(, document.getElementById('root'));