Commit graph

10 commits

Author SHA1 Message Date
Rich Willars
540c02b6b0 Add jest tests
Adds tests for src/core/Utils

Ports translator tests to jest

Adds tests for core/index

Added code coverage report

Adds tests for core/UppySocket

Adds tests to src/core and cleanup of test directory

Switched from import to require as the project supports node v4

Runs tests using Babel for backwards compatibilty

Adds src/core state tests

Adds src/core reset & close tests

Updates stagnant snapshot

Adds tests for preprocessors and postprocessors in src/core/Core.js

Adds tests for uploaders and metadata in src/core/Core

Adds tests for adding and removing files in src/core/Core

Adds test for getFile
2017-09-08 17:18:58 +01:00
Kevin van Zonneveld
7256fb1113 Test refactoring /cc @arturi @hedgerh
- Move failing multipart dir into a v0.0.5 directory
- Add a passing dummy i18n acceptance test
- Move acceptance tests into own dir, just like unit tests
- Make acceptance test run the same way as as unit tests, via an
index.js
- Remove bash requirement to run acceptance tests
2016-04-07 09:18:12 +02:00
Kevin van Zonneveld
2d30ca657a Rename acquire->acquirer 2016-03-07 10:29:52 +01:00
Kevin van Zonneveld
9b8595943a core: Rename selecter to acquire 2016-03-07 09:25:08 +01:00
Kevin van Zonneveld
e4e80931ba Fix tests 2016-02-21 17:00:00 +01:00
Kevin van Zonneveld
39040c15f6 Fix bad names in fixtures 2016-02-21 16:52:43 +01:00
Kevin van Zonneveld
a52db8501b core: throw an error when one Plugin is .used twice
We don't support that now, and will result in very confusing behavior
2016-02-21 16:22:31 +01:00
Artur Paikin
8ccba1bac5 More Core tests 2016-02-13 23:30:48 -05:00
Artur Paikin
d89c0bf522 Tests: core 2016-02-12 19:48:54 -05:00
Artur Paikin
14617f4860 tests update, plugin mock added (work in progress) 2016-02-09 02:15:13 -05:00