Nico Rehwaldt
fa0d4957f3
chore: simplify translation collection
...
Use same global variable <COLLECT_TRANSLATIONS> in node and
within the specs.
2020-12-21 22:43:43 +01:00
Nico Rehwaldt
3ff287266c
chore: resurrect translation reporter
...
This restores the translation reporter that allows us to extract
translations from the library, as we test it.
2020-11-03 20:39:20 +00:00
Nico Rehwaldt
04ca31fac9
feat(lib): Promisify public APIs
...
This commit promisifies following APIs:
BaseViewer#importXML
BaseViewer#importDefinitions
BaseViewer#open
BaseViewer#saveXML
BaseViewer#saveSVG
Modeler#createDiagram
Related to https://github.com/bpmn-io/bpmn-js/issues/812
BREAKING CHANGES:
* Users are now expected to have Promises either by default or
polyfilled as the APIs return a Promise now.
2020-04-29 11:12:23 +02:00
Philipp Fromme
7a67ff95b2
chore(documentation): fix JSDoc string types
2020-04-07 06:52:55 +00:00
Nico Rehwaldt
991ab38c3d
feat(test): expose BpmnJS set and clear utilities
2019-12-09 08:32:04 +00:00
Maciej Barelkowski
33156e43be
chore(project): fix linting errors
2019-08-19 14:27:33 +00:00
Nico Rehwaldt
d8e383c82a
fix(test/helper): expose #bootstrapBpmnJS utility
...
Was previously exposed; libraries or other applications may
rely on it.
2018-04-05 13:01:34 +02:00
Nico Rehwaldt
9be61259bd
chore(project): drop 'use strict'
...
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
Nico Rehwaldt
d3449ca87c
chore(project): es6ify source code
...
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
Nico Rehwaldt
11f5a22471
chore(project): adjust min-dash usage (2)
2018-03-22 11:59:39 +01:00
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
f637d63da9
fix(tests): resolve lib/* locally in helper util
...
* ensures reusing test/helper does not break
2018-01-29 20:23:14 +01:00
Nico Rehwaldt
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +01:00
Nico Rehwaldt
d87cbc3b79
chore(test/helper): cleanup old bpmn-js
...
This speeds up the test suite runs, now as the
suite gets larger.
2016-06-27 00:32:16 +02:00
Nico Rehwaldt
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
Vladimirs Katusenoks
28cc4e8e10
feat(i18n/build): add grunt task for translation extraction
...
Use `grunt extract-translations` to run extraction.
Will run all test cases to extract the available translations.
Closes #497
2016-05-03 17:31:49 +02:00
Nico Rehwaldt
a5b8f379fc
chore(tests): use canvas.deferUpdate=false per default
2016-03-17 17:44:32 +01:00
Nico Rehwaldt
b21fb7cec3
chore(tests): allow canvas options to be provided
2015-10-22 08:43:05 +02:00
Ricardo Matias
1295400fe0
test(custom-elements): add integration tests for custom elements
...
Closes #352
2015-09-09 16:44:10 +02:00
pedesen
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +02:00
Nico Rehwaldt
c14a87e5ad
feat(modeling): add message flow modeling
...
Related to #199
Closes #201
2015-04-22 16:12:58 +02:00
Nico Rehwaldt
e6885eaebc
test(project): replace brfs with stringify
...
This _could_ fix the various bundle building issues we are seeing on
travis-ci and locally.
Closes #234
2015-03-31 14:22:53 +02:00
Nico Rehwaldt
3996408404
chore(project): migrate to modularized lodash@3
...
* use specialized lodash utilities
* consistently apply 'use strict'
Related to #185
2015-02-02 14:46:21 +01:00
Nico Rehwaldt
2707fc8858
chore(test): fix brfs include encoding
2014-11-21 09:22:51 +01:00
Nico Rehwaldt
3d66502ee8
chore(test): assign fixed height to test containers
2014-11-21 09:22:51 +01:00
Nico Rehwaldt
5c2a079307
feat(tests): extract test helper to own module
...
This commit extracts the test helper utility to its own module.
Use in bpmn-js extensions via
var Helper = require('bpmn-js/test/helper');
This adds the global helper bindings bootstrapModeler/Viewer and inject.
2014-08-25 17:58:18 +02:00