test(app): use cancel role in toast not close (#19944)

This commit is contained in:
Matthew Harris
2019-11-19 15:37:03 +00:00
committed by Brandy Carney
parent d521f65053
commit abdaaf320b

View File

@ -60,7 +60,7 @@
const toast = Object.assign(document.createElement('ion-toast'), { const toast = Object.assign(document.createElement('ion-toast'), {
message: 'Hello world!', message: 'Hello world!',
buttons: [ buttons: [
{ text: 'Close', role: 'close' } { text: 'Close', role: 'cancel' }
] ]
}); });
document.body.appendChild(toast); document.body.appendChild(toast);