1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-02-08 16:09:40 +00:00

changed function name to be more significant

This commit is contained in:
Luca
2020-04-10 12:59:09 +02:00
parent 51e86ae593
commit b3fd6544cc
3 changed files with 8 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
import { getVideoUrls } from '../utils';
import { parseVideoUrls } from '../utils';
import puppeteer from 'puppeteer';
import assert from 'assert';
import tmp from 'tmp';
@@ -53,7 +53,7 @@ describe('Destreamer', () => {
fs.writeFileSync(tmpFile.fd, testIn.join('\r\n'));
testOut = getVideoUrls([tmpFile.name]);
testOut = parseVideoUrls([tmpFile.name]);
if (testOut.length !== expectedOut.length)
assert.strictEqual(testOut, expectedOut, "URL list not sanitized");
@@ -64,4 +64,4 @@ describe('Destreamer', () => {
assert.ok("sanitizeUrls ok");
});
});
});