Skip to content

Commit f5ce2d2

Browse files
committed
Update test scaffold
1 parent 2e8b085 commit f5ce2d2

File tree

10 files changed

+10
-22
lines changed

10 files changed

+10
-22
lines changed

examples/express-cdn/src/App/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { StaticCSS as CSS } from '../../../../dist';
2+
import { StaticCSS as CSS } from '../../../../index';
33

44
function Body(props) {
55
return (

examples/express-cdn/src/App/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { StaticCSS as CSS } from '../../../../dist';
2+
import { StaticCSS as CSS } from '../../../../index';
33

44
function Header() {
55
return (

examples/express-cdn/src/App/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Header from './Header';
33
import Body from './Body';
4-
import { StaticCSS as CSS } from '../../../../dist';
4+
import { StaticCSS as CSS } from '../../../../index';
55

66
function Root(props) {
77
return (

examples/express-cdn/src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import express from 'express';
22
import React from 'react';
33
import ReactDOMServer from 'react-dom/server';
4-
import { path } from 'app-root-path';
54
import App from './App';
6-
import { Resolver, CDNAdapter } from '../../../dist/index';
5+
import { Resolver, CDNAdapter } from '../../../server';
76

87
const app = express();
98

examples/express-file-system/src/App/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { StaticCSS as CSS } from '../../../../dist';
2+
import { StaticCSS as CSS } from '../../../../index';
33

44
function Body(props) {
55
return (

examples/express-file-system/src/App/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { StaticCSS as CSS } from '../../../../dist';
2+
import { StaticCSS as CSS } from '../../../../index';
33

44
function Header() {
55
return (

examples/express-file-system/src/App/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Header from './Header';
33
import Body from './Body';
4-
import { StaticCSS as CSS } from '../../../../dist';
4+
import { StaticCSS as CSS } from '../../../../index';
55

66
function Root(props) {
77
return (

examples/express-file-system/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import ReactDOMServer from 'react-dom/server';
44
import { path } from 'app-root-path';
55
import App from './App';
6-
import { Resolver, FileSystemAdapter } from '../../../dist/index';
6+
import { Resolver, FileSystemAdapter } from '../../../server';
77

88
const app = express();
99

src/__test__/index.spec.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import React from 'react';
22
import { mount } from 'enzyme';
3-
import {
4-
StaticCSS as CSS,
5-
DynamicCSS,
6-
Resolver,
7-
FileSystemAdapter,
8-
CDNAdapter
9-
} from '../';
3+
import { StaticCSS as CSS, DynamicCSS } from '../../index';
4+
import { Resolver, FileSystemAdapter, CDNAdapter } from '../../server';
105

116
function buildComponent(displayName) {
127
function MyComponent(props) {

src/index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)