export default {
props: {
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.states = [
'Maine',
'Maryland',
'Massachusetts',
'Michigan',
'Minnesota',
'Mississippi',
'Missouri',
'Montana'
];
assert.htmlEqual( target.innerHTML, `
Current state: deconflicted
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
` );
}
};