Skip to content

Commit a6753df

Browse files
committed
tests passing
1 parent 6dd36c1 commit a6753df

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

.babelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"@babel/preset-react"
55
],
66
"plugins": [
7-
"@babel/plugin-syntax-object-rest-spread",
8-
"@babel/plugin-transform-classes"
7+
"@babel/plugin-syntax-object-rest-spread"
98
]
109
}

cdn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('./dist/adapter/file').default;
1+
module.exports = require('./dist/adapter/cdn').default;

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
console.log("helo");
2-
console.log(require('./dist/static-container'));
3-
41
module.exports = {
52
StaticCSS: require('./dist/static-container').default,
63
DynamicCSS: require('./dist/dynamic-container').default,

src/__test__/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { mount } from 'enzyme';
3-
import { StaticCSS as CSS, DynamicCSS, Resolver } from '../../index';
3+
import { StaticCSS as CSS, DynamicCSS, Resolver } from '../../';
44
import FileSystemAdapter from '../../file';
55
import CDNAdapter from '../../cdn';
66

src/resolver.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ export default class Resolver {
2929
});
3030
}
3131
render() {
32+
console.log("hello");
3233
return this.resolve().then((rawResponse) => {
34+
console.log(rawResponse);
3335
return this.adapter.render(rawResponse);
3436
});
3537
}

0 commit comments

Comments
 (0)