mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(button): fix failing karma test caused by changing params
This commit is contained in:
@@ -253,7 +253,7 @@ describe('button', () => {
|
||||
function mockButton(config?: Config, ionButton?: string) {
|
||||
config = config || mockConfig();
|
||||
ionButton = ionButton || '';
|
||||
let b = new Button(null, ionButton, config, mockElementRef(), mockRenderer());
|
||||
let b = new Button(ionButton, config, mockElementRef(), mockRenderer());
|
||||
b._init = true;
|
||||
b.mode = 'ios';
|
||||
return b;
|
||||
|
||||
Reference in New Issue
Block a user