mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Fixing test. Modified capitalization of utf8 after reading W3C spec
This commit is contained in:
parent
729bb9a9e4
commit
ee22983e7b
2 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ describe('AggTable Directive', function () {
|
|||
'1,2,"""foobar"""' + '\r\n'
|
||||
]);
|
||||
expect(call.args[0].opts).to.eql({
|
||||
type: 'text/plain'
|
||||
type: 'text/plain;charset=utf-8'
|
||||
});
|
||||
expect(call.args[1]).to.be('somefilename.csv');
|
||||
});
|
||||
|
|
|
@ -36,7 +36,7 @@ uiModules
|
|||
};
|
||||
|
||||
self.exportAsCsv = function (formatted) {
|
||||
let csv = new Blob([self.toCsv(formatted)], { type: 'text/plain;charset=UTF-8;' });
|
||||
let csv = new Blob([self.toCsv(formatted)], { type: 'text/plain;charset=utf-8' });
|
||||
self._saveAs(csv, self.csv.filename);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue