export default {
data: {
state: 'deconflicted',
states: [
'Alabama',
'Alaska',
'Arizona',
'Arkansas',
'...and some others'
]
},
html: `
Current state: deconflicted
- Alabama
- Alaska
- Arizona
- Arkansas
- ...and some others
`,
test ( assert, component, target ) {
component.set({
states: [
'Maine',
'Maryland',
'Massachusetts',
'Michigan',
'Minnesota',
'Mississippi',
'Missouri',
'Montana'
]
});
assert.htmlEqual( target.innerHTML, `
Current state: deconflicted
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
` );
}
};