Renée Kooi
72689d01ac
Export Plugin class from @uppy/core.
2018-06-28 12:20:21 +02:00
Artur Paikin
356585f4af
update to status-bar and xhr-upload in: tests, website, dependencies, examples
2018-06-21 16:20:55 -04:00
Renée Kooi
811ed885c6
Add Promise polyfill in integration tests.
2018-06-21 16:07:01 +02:00
Renée Kooi
6ad3768596
Call browser.url() before each test.
2018-06-21 14:42:43 +02:00
Renée Kooi
73e8c0d50e
Use verdaccio to simulate publishes before integration tests.
2018-06-21 13:54:10 +02:00
Renée Kooi
d494e7df3c
Unit test fixes.
2018-06-18 15:49:59 +02:00
Renée Kooi
c68599dee9
Make integration tests run with new package setup
...
Unfortunately had to undo the `npm pack` PR for this for now :(
2018-06-18 15:30:56 +02:00
Renée Kooi
6e24d0e4c9
Update build scripts.
2018-06-18 11:33:45 +02:00
Renée Kooi
16d0d4253a
Move Plugin class to @uppy/core package.
...
Steps taken:
```bash
git mv src/core/Plugin.js packages/@uppy/core/src
vim packages/@uppy/core/src/index.test.js # Update require
sed -i 's/[./]*\/core\/Plugin/@uppy\/core\/lib\/Plugin/' src/**/*.js
vim test/mocks/* # manually update require() calls
vim website/src/docs/writing-plugins.md # manually update require() calls
```
2018-06-14 16:31:19 +02:00
Artur Paikin
a60c2f0c64
ignore node_modules in test/endtoend
2018-06-13 12:50:47 -04:00
Renée Kooi
968b98ed29
.eslintrc → .eslintrc.json
2018-06-07 13:18:39 +02:00
Ifedapo Olarewaju
db00701944
run integration tests with installed uppy
2018-06-03 08:04:58 +01:00
Renée Kooi
815b41792a
Fix locale e2e test.
2018-05-24 15:18:24 +02:00
Renée Kooi
22e026e04b
Revert "Fix locale e2e test."
...
This reverts commit db5b870ff0 .
This was supposed to be committed on a different branch.
2018-05-22 14:45:43 +02:00
Renée Kooi
db5b870ff0
Fix locale e2e test.
2018-05-22 14:37:57 +02:00
Renée Kooi
37768e1531
core: Remove .run().
2018-04-30 12:17:13 +02:00
Renée Kooi
acc819c2ed
Make addFile() synchronous.
2018-04-09 09:36:20 +02:00
Renée Kooi
5884904fbc
Use CommonJS in test files
2018-03-19 10:48:36 +01:00
Renée Kooi
a057009cf9
Remove unused files from published package ( #586 )
...
Ooooops…
Installed package size:
- Before: 84M
- After: 5.9M
The npmignore files are in nested folders, then they override the `files` config in package.json. It seemed difficult to change the `files` config to exclude all these things, so I opted for this instead.
2018-02-01 16:17:35 +01:00
Renée Kooi
a68f452110
disable failing test for now
2018-01-08 21:40:13 +01:00
Renée Kooi
daf2e2bd9a
simpler .started length check
2018-01-08 11:16:16 +01:00
Renée Kooi
456a4a8673
Fix content type response in XHRUpload test
2018-01-08 11:16:00 +01:00
Renée Kooi
07463ee474
Add test for XHRUpload limit option
2018-01-08 10:06:11 +01:00
Artur Paikin
95d78620e3
https fixes test?
2018-01-05 16:03:28 -05:00
Artur Paikin
86b3d3c640
update endtoend test selectors
2017-12-20 00:45:36 -05:00
Artur Paikin
85fe3442e4
remove .js from import
2017-12-09 13:21:20 -05:00
Artur Paikin
ed9aa1a537
🚨 this.core to this.uppy everywhere
...
danger again
2017-12-08 17:34:33 -05:00
Artur Paikin
b3a9a4bdb7
remove old acceptance tests
2017-11-28 19:12:00 -05:00
Artur Paikin
d40db2874e
fix Plugin path in tests
2017-11-28 19:11:15 -05:00
Artur Paikin
65f0553bd3
add iOS and Android
2017-11-08 16:43:29 -05:00
Artur Paikin
3e950dfe51
add user/key back
2017-11-07 15:17:33 -05:00
Artur Paikin
7d881151a4
try removing sauce connect, user and key
2017-11-07 15:01:04 -05:00
Artur Paikin
b5f15978d5
Revert "is this starting another tunnel?"
...
This reverts commit 6c76b01afb .
2017-11-07 14:58:28 -05:00
Artur Paikin
6c76b01afb
is this starting another tunnel?
2017-11-07 14:56:28 -05:00
Artur Paikin
da0efb48e0
add tunnel-identifier and build: job number
2017-11-07 14:30:37 -05:00
Artur Paikin
d1fe35f501
configs for local and remote sauce tests
2017-11-07 14:05:05 -05:00
Artur Paikin
87f6b88aca
rewrite 3 tests: tus, xhr and i18n
2017-11-07 13:53:36 -05:00
Artur Paikin
8b4f8d4da0
fix tests for locale
2017-10-03 16:42:08 -04:00
Artur Paikin
cac58579b6
fix i18n test
2017-10-03 14:28:11 -04:00
Artur Paikin
561c16aa0a
update DragDrop acceptance test
2017-10-03 14:17:19 -04:00
Artur Paikin
5c6b1fc607
don’t run the fallback test
2017-10-03 12:07:18 -04:00
Artur Paikin
cc14a46057
no win xp in tests
2017-09-29 23:36:49 -04:00
Artur Paikin
1d0e432542
IE6 --> IE8, SauceLabs don’t seem to offer Win XP and IE 6 anymore: https://saucelabs.com/platforms
2017-09-29 17:31:43 -04:00
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
Renée Kooi
5750efab90
transloadit: Add test for alwaysRunAssembly
2017-08-24 13:49:34 +02:00
Renée Kooi
ffb36428f3
transloadit: Fix crash when no files are being uploaded
2017-08-22 14:15:06 +02:00
Artur Paikin
3f64c367a3
rename window test/debug variables
...
now it’s window._uppy and addFile is window._uppy.addFile
2017-08-07 16:54:22 +02:00
Renée Kooi
dde92f80a6
Transloadit: test for dynamic params
2017-07-11 20:35:39 +02:00
Renée Kooi
c58d4338a1
Transloadit: Add test for params validation after getAssemblyOptions
2017-07-11 20:35:39 +02:00
Gavin Boulton
4bc68694c4
Allow configurable FileInput input name
...
Allow a configurable input name in the FileInput plugin with a default of `files[]`. This functionality matches the Multipart plugin.
Add basic unit tests for `inputName` FileInput constructor option.
2017-06-02 10:54:22 +01:00