mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
test(toast): fix unit test
This commit is contained in:
@ -12,9 +12,8 @@ describe('Toast', () => {
|
||||
showCloseButton: true
|
||||
});
|
||||
|
||||
expect(toast.message).toEqual('Please Wait...');
|
||||
expect(toast.showCloseButton).toEqual(true);
|
||||
expect(toast.closeButtonText).toEqual('Close');
|
||||
expect(toast.data.message).toEqual('Please Wait...');
|
||||
expect(toast.data.showCloseButton).toEqual(true);
|
||||
});
|
||||
|
||||
});
|
@ -11,7 +11,7 @@ module.exports = function(config) {
|
||||
|
||||
files: [
|
||||
'node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.js', //npm2
|
||||
'node_modules/es6-module-loader/dist/es6-module-loader.src.js', //npm3
|
||||
'node_modules/es6-module-loader/dist/es6-module-loader.js', //npm3
|
||||
'node_modules/systemjs/dist/system.js',
|
||||
'scripts/karma/system.config.js',
|
||||
'node_modules/angular2/bundles/angular2-polyfills.min.js',
|
||||
|
Reference in New Issue
Block a user