Skip to content

Commit

Permalink
Removed version change. Added test.
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-weisser committed Jun 22, 2017
1 parent 88de8ae commit 1141257
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exceljs",
"version": "0.4.13",
"version": "0.4.12",
"description": "Excel Workbook Manager - Read and Write xlsx and csv Files.",
"private": false,
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion spec/unit/utils/utils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var expect = require('chai').expect;
var utils = require('../../../lib/utils/utils');

describe('utils', function() {
describe('xmlEncode', function() {
describe.only('xmlEncode', function() {
it('encodes xml text', function() {
expect(utils.xmlEncode('<')).to.equal('&lt;');
expect(utils.xmlEncode('>')).to.equal('&gt;');
Expand All @@ -17,6 +17,8 @@ describe('utils', function() {
.to.equal('abc abc');

expect(utils.xmlEncode('<a href="www.whatever.com">Talk to the H&</a>')).to.equal('&lt;a href=&quot;www.whatever.com&quot;&gt;Talk to the H&amp;&lt;/a&gt;');

expect(utils.xmlEncode('new\x0aline')).to.equal('new\x0aline');
});
});
describe('isDateFmt', function() {
Expand Down

0 comments on commit 1141257

Please sign in to comment.