mjml-react
Advanced tools
Comparing version 1.0.29 to 1.0.30
export { MjmlComment } from './mjml-comment'; | ||
export { MjmlConditionalComment } from './mjml-conditional-comment'; | ||
export { MjmlConditionalComment } from './mjml-conditional-comment'; | ||
export { MjmlYahooStyle } from './mjml-yahoo-style'; |
@@ -6,3 +6,3 @@ import React from 'react'; | ||
import { MjmlComment, MjmlConditionalComment } from '../src/extensions'; | ||
import { MjmlComment, MjmlConditionalComment, MjmlYahooStyle } from '../src/extensions'; | ||
@@ -69,2 +69,13 @@ describe('extensions', function () { | ||
}); | ||
describe('yahoo style', function () { | ||
it('should render', function () { | ||
var markup = renderToMjml(React.createElement( | ||
MjmlYahooStyle, | ||
null, | ||
'a { color: blue; }' | ||
)); | ||
expect(markup).to.equal('<mj-raw><style>@media screen yahoo {a { color: blue; }}</style></mj-raw>'); | ||
}); | ||
}); | ||
}); |
@@ -23,2 +23,11 @@ 'use strict'; | ||
} | ||
}); | ||
var _mjmlYahooStyle = require('./mjml-yahoo-style'); | ||
Object.defineProperty(exports, 'MjmlYahooStyle', { | ||
enumerable: true, | ||
get: function get() { | ||
return _mjmlYahooStyle.MjmlYahooStyle; | ||
} | ||
}); |
@@ -75,2 +75,13 @@ 'use strict'; | ||
}); | ||
describe('yahoo style', function () { | ||
it('should render', function () { | ||
var markup = (0, _src.renderToMjml)(_react2.default.createElement( | ||
_extensions.MjmlYahooStyle, | ||
null, | ||
'a { color: blue; }' | ||
)); | ||
(0, _chai.expect)(markup).to.equal('<mj-raw><style>@media screen yahoo {a { color: blue; }}</style></mj-raw>'); | ||
}); | ||
}); | ||
}); |
{ | ||
"name": "mjml-react", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225248
107
5622