Nico Rehwaldt
7478388070
deps: replace inherits with inherits-browser
...
This increase the safety of our build; external consumers
do no longer need to account for the `browser` field to
bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
2022-05-18 10:15:53 +00:00
Nico Rehwaldt
e853531d7d
test: add webpack to karma test frameworks
...
Warns otherwise on run.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt
68bc49a812
test: mark TestHelper as causing side-effects
...
It adds chai matchers, so it is.
2021-06-24 09:44:40 +02:00
Nico Rehwaldt
af30817edb
chore: make ChromeHeadless the default test browser during development
2021-01-06 12:57:36 +00:00
Nico Rehwaldt
44301d1830
chore: add <npm start> script
...
This script is the one stop utility that allows users to open a modeler
or viewer instance, directly within your browser.
Works via a custom launcher that openes the {KARMA_BASE}/debug.html
page in your default web browser.
Closes https://github.com/bpmn-io/bpmn-js/issues/1396
2020-12-21 22:43:43 +01:00
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
00686dcb3b
deps: update eslint + styles
2020-12-02 20:28:33 +00: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
Oguz
6bff933d92
chore(tests): add promise polyfill to tests
2020-04-29 11:12:23 +02:00
Nico Rehwaldt
a767fd9577
test(project): remove legacy CI hacks
2020-03-12 13:14:18 +00:00
Nico Rehwaldt
4d9a9f7252
chore(project): rename test bundles
2019-12-10 15:58:47 +01:00
Maciej Barelkowski
5aa162efcd
chore(project): use source maps in tests
2019-11-06 11:54:02 +01:00
Nico Rehwaldt
b00c673c7d
test(project): use built-in progress reporter
...
* yields performance gains up to 30% compared to spec reporter
2019-01-10 12:36:02 +01:00
Nico Rehwaldt
f99a0a9609
chore(project): add test coverage
...
* monitor coverage via codecov
* run coverage locally via COVERAGE=1 npm test
2018-10-04 07:37:01 +00:00
Nico Rehwaldt
6d9b04a5f1
chore(project): use karma-webpack for testing
...
* no need to transform test via browserify
* works 🍰
2018-07-16 13:00:55 +02:00
Nico Rehwaldt
8dfdeb7c71
test(project): properly locate ChromeHeadless on non-linux
2018-04-04 16:52:46 +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
56a644177d
chore(project): build using ES6 ready deps
...
* diagram-js@1
* updated utils
2018-04-03 16:30:05 +02:00
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
b03014fc2c
chore(project): update to new lint style
2018-02-27 10:08:31 +01:00
Nico Rehwaldt
da2a8be7e5
chore(project): es5ify scripts
...
...until we decide to switch to ES2015+
2018-02-02 11:24:00 +01:00
Nico Rehwaldt
5b2b053230
chore(distro): add integration test
...
Add a test that ensures the distribution works.
Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt
e3bf356461
chore(project): drop grunt + bundle assets to dist directory
...
* replace grunt with npm scripts
* copy static assets to dist directory
* build and copy library variants to dist directory
Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt
a6b26b0b59
chore(test): add missing custom Chrome headless launcher
2017-11-23 10:46:29 +01:00
Nico Rehwaldt
9416eae126
chore(project): bump test dependency versions
...
* remove redundant karma-chai
2017-10-22 23:22:58 +02:00
Nico Rehwaldt
90ddaeef5e
chore(tests): add Chrome headless as test browser
...
* include special non-sandbox launcher on Linux
* handle TEST_BROWSERS in karma config
2017-10-22 22:21:51 +02:00
Nico Rehwaldt
2a989465fb
test(project): use spec reporter
2016-06-07 10:25:39 +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
17c074464c
chore(test): clean up karma config
2015-10-20 15:47:12 +02:00
Nico Rehwaldt
6d86dc9e27
chore(tests): add . as base path for browserify
...
This allows us to reference files in (lib|test)/* via absolute path
names.
2015-10-05 15:41:13 +02:00
pedesen
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +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
Christian Lipphardt
81ca09fe64
chore(karma): increase timeout for no browser activity
2014-09-25 09:54:40 +02:00
Nico Rehwaldt
826d798f19
chore(tests): remove unused node test folders
...
This commit cleans up reminders of the node-js test suite removal
by removing the test/node folder.
The test structure has been aligned by moving all tests from
* test/spec/browser to test/spec
* test/spec/integration to test/integration
2014-08-01 07:20:15 +02:00
Nico Rehwaldt
894280e723
feat(feature/bpmn-modeling): append task via context-pad
...
Related to #6 , #40
2014-07-17 15:29:34 +02:00
Nico Rehwaldt
0880dd32e7
chore(tests): increase karma timeout
2014-07-17 14:11:28 +02:00
Nico Rehwaldt
c17204356c
chore(project): move to karma-bro for test preprocessing
2014-04-30 01:57:54 +02:00
Nico Rehwaldt
06cf214249
chore(project): upgrade to latest karma-browserify
...
This fixes module loading bugs during test run and lets us use the
latest browserify version.
2014-04-08 13:41:27 +02:00
Nico Rehwaldt
008015b227
feat(Viewer): embed and show project logo
...
The project logo now properly embeds in the Viewer and links to bpmn.io.
This way, we are able to ship it as part of a bpmn-js bundle.
In addition to that change this commit upgrades to the latest diagram-js
release, too which adds support for Diagram#destroy().
Closes #15
2014-04-08 13:41:24 +02:00
Nico Rehwaldt
cc1e91f37f
fix(build): remove bowerify dependency
2014-03-14 17:52:30 +01:00
Nico Rehwaldt
5a4d0b566a
feat(import): import bpmn shapes
...
We are able to import shapes based on BPMNDI.
Related to #1
2014-03-13 16:06:30 +01:00
Nico Rehwaldt
01a5f28e2d
chore(project): initial import
2014-03-11 15:54:36 +01:00