Browse Source

Fix test regression

pull/2253/head
Artur Arseniev 7 years ago
parent
commit
57d22af333
  1. 19
      test/specs/css_composer/e2e/CssComposer.js

19
test/specs/css_composer/e2e/CssComposer.js

@ -130,7 +130,6 @@ module.exports = {
// ruleOut is a Model // ruleOut is a Model
ruleOut = JSON.parse(JSON.stringify(ruleOut)); ruleOut = JSON.parse(JSON.stringify(ruleOut));
var ruleResult = { var ruleResult = {
mediaText: '',
selectors: [ selectors: [
{ {
active: true, active: true,
@ -141,12 +140,6 @@ module.exports = {
protected: false protected: false
} }
], ],
atRuleType: '',
singleAtRule: 0,
important: 0,
selectorsAdd: '',
state: '',
stylable: true,
style: { style: {
color: 'red', color: 'red',
width: '10px' width: '10px'
@ -181,28 +174,16 @@ module.exports = {
rule1Out = JSON.parse(JSON.stringify(rule1Out)); rule1Out = JSON.parse(JSON.stringify(rule1Out));
rule2Out = JSON.parse(JSON.stringify(rule2Out)); rule2Out = JSON.parse(JSON.stringify(rule2Out));
var rule1Result = { var rule1Result = {
atRuleType: '',
singleAtRule: 0,
important: 0,
mediaText: '',
selectors: [], selectors: [],
selectorsAdd: '*', selectorsAdd: '*',
state: '',
stylable: true,
style: { style: {
color: 'red', color: 'red',
width: '10px' width: '10px'
} }
}; };
var rule2Result = { var rule2Result = {
atRuleType: '',
singleAtRule: 0,
important: 0,
mediaText: '',
selectors: [], selectors: [],
selectorsAdd: 'p', selectorsAdd: 'p',
state: '',
stylable: true,
style: { style: {
height: '20px', height: '20px',
width: '20px' width: '20px'

Loading…
Cancel
Save