Fix uploader test and refactor makeTestWrapper to accept data fn
This commit is contained in:
@@ -9,6 +9,9 @@ const WrapperComponent = makeTestWrapper({
|
||||
checkboxinput,
|
||||
},
|
||||
templatePath: 'checkbox_input_template.html',
|
||||
data: function() {
|
||||
return { initialvalue: this.initialData }
|
||||
}
|
||||
})
|
||||
|
||||
describe('CheckboxInput Renders Correctly', () => {
|
||||
|
Reference in New Issue
Block a user