Commit Graph

23 Commits (438b836b524a69e59d7e82129414beabaea0ab92)

Author SHA1 Message Date
Jan van Brügge 77d6753dd4
chore(test): remove snabbdom benchmarks
The benchmark code was not yet updated to version 3 of snabbdom and
thus cannot be run at the moment. Further, it depends on faker, which is
not available any more. So for now, the benchmark code and all its
dependencies have been removed. In the future we should again add
benchmarks and can reference this commit for some code.
3 years ago
Jan van Brügge 255c87d1a9
chore(tools): lower browserstack concurrency 4 years ago
Jan van Brügge 0e34828632
chore(test): make tests run again on older browsers
When removing unnecessary dependencies, polyfills like core-js were
removed, as well as webpack which bundled the tests to es5. With this
commit, tests that need specific browser features are skipped if the
browser does not support them and the code is compiled to es5 by
karma-typescript
4 years ago
Jan van Brügge 795e9968d9
chore(tools): do not use environments for CI
The environment was used to ensure that the browserstack access keys
are only available after approval, so a potentially malicious actor
can't modify the testing code and extract those secrets. This however
creates a lot of noise in the notifications of the maintainers and it
drastically reduces the feedback cycle for the contributor in case their
change causes an issue in one of the supported browsers. Additionally
the potential harm in extracting the access keys is pretty low. The
snabbdombot account has only user access, so it can't change
browserstack settings and it can only access the automate features. So
the only thing that can happen is that our PRs fail because some third
party is running browser tests and thus exhausting our 5 parallel tests
limit. In that case we can simply change the access key of the
snabbdombot account. For this reason, the secrets are now repository
secrets and the CI does not need an approval to run
4 years ago
Jan van Brügge cd55ebd34e
chore(test): fix custom elements tests 4 years ago
Jan van Brügge 5d5fc5a362
feat: add JSX namespace to jsx factory
This allows the user to use multiple different JSX factory functions in
the same project as each one brings their own types
4 years ago
Jan van Brügge 5a539559ef
chore(refactor): apply eslint hints 4 years ago
Jan van Brügge 37f58835fa
chore(refactor): format code with prettier 4 years ago
Jan van Brügge b7ddb94583
chore(tools): replace webpack with karma-typescript for unit tests
ISSUES CLOSED: #538, #801
4 years ago
Shahar Or (mightyiam) dad44f0d63 feat: only esm and correct import paths
BREAKING CHANGE: CommonJS module are no longer provided.
BREAKING CHANGE: import paths in ES modules include file name
extensions.
BREAKING CHANGE: Compiled to ES2015 (was ES5).

Fixes #516.
Fixes #437.
Fixes #263. Kind of. Because there is no build step.

Thanks to @mreinstein on starting this work.
5 years ago
Shahar Or (mightyiam) 9e62a5e6f3 chore(ci): increase browser concurrency to 5
Closes #638
5 years ago
Shahar Or (mightyiam) d5bcb63f7b style: no unnecessary semicolons 5 years ago
Shahar Or (mightyiam) 215d420950 test: benchmark core 5 years ago
Shahar Or (mightyiam) 320c255975 style: enable eslint rule semi 5 years ago
Shahar Dawn Or c0a7f1ef82
chore(test): karma-webpack, test both CommonJS & ES modules (#542)
Fixes #543.
5 years ago
Shahar Dawn Or 8055d395f5
chore(test): chai assert & karma-mocha-reporter (#541)
Closes #535.
5 years ago
Shahar Dawn Or d4a8640132
test: run jsx test (#533)
Fixes #532.
5 years ago
Shahar Dawn Or e018fdf79f
chore(tsc): simplify tsconfig.json using tsconfigs (#511) 5 years ago
Shahar Dawn Or a2342e6875
style: normalize whitespace (#510) 5 years ago
Shahar Dawn Or b77cb512f4
refactor(tests): convert to TypeScript (#508)
Closes #293.
Fixes #509.
5 years ago
Noj Vek 7ff8d13b4e snabbdom can be used with jsx/tsx via jsxFactory: jsx 5 years ago
Jan van Brügge 1ca1584334 Remove travis browserstack addon to fix HTTP error 6 years ago
Jan van Brügge 2e73a926cd Move to karma, allow to test on browserstack 7 years ago