chore(test): fix brfs include encoding
This commit is contained in:
parent
3d66502ee8
commit
2707fc8858
|
@ -24,7 +24,7 @@
|
|||
* var fs = require('fs');
|
||||
*
|
||||
* // insert diagram.css
|
||||
* TestHelper.insertCSS('diagram.css', fs.readFileSync('some-css.css', 'utf-8'));
|
||||
* TestHelper.insertCSS('diagram.css', fs.readFileSync('some-css.css', 'utf8'));
|
||||
* ```
|
||||
*/
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ describe('features - context-pad', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ contextPadModule, bpmnModule ];
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ describe('features - label-editing', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/features/label-editing/labels.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/features/label-editing/labels.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ labelEditingModule, coreModule ];
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ describe('features/modeling - append shape', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ describe('features - bpmn-factory', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ modelingModule, coreModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - create connection', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - #removeConnection', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - #removeShape', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - layout connection', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - move connection', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe('features/modeling - move shape', function() {
|
|||
beforeEach(Matchers.addDeepEquals);
|
||||
|
||||
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
|
||||
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue