aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/helpers/index.ts
diff options
context:
space:
mode:
authorBRAINS YUM <43896676+McFlat@users.noreply.github.com>2018-10-13 01:43:55 -0500
committerChocobozzz <me@florianbigard.com>2018-10-13 08:43:55 +0200
commit0e5ff97f6fdf9a4cebe5a15f5a390380465803ad (patch)
treee3f69adb2b8a910ef750b44972ea59944aa9ca7c /server/tests/helpers/index.ts
parent6e5a785b20230ff5457632361a893d814b53c95e (diff)
downloadPeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.tar.gz
PeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.tar.zst
PeerTube-0e5ff97f6fdf9a4cebe5a15f5a390380465803ad.zip
add parseBytes utility function and tests (#1239)
* add parseBytes utility function and tests make it parse TB MB fix parseBytes; * 1024 test bytes too, and make parseByte to parse quotas add test in travis.sh in misc * fix parseBytes and test to pass linting
Diffstat (limited to 'server/tests/helpers/index.ts')
-rw-r--r--server/tests/helpers/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/helpers/index.ts b/server/tests/helpers/index.ts
new file mode 100644
index 000000000..40c7dc70e
--- /dev/null
+++ b/server/tests/helpers/index.ts
@@ -0,0 +1 @@
import './core-utils'