1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 22:33:17 +00:00
musix-oss/node_modules/video-thumbnail-url/tests/facebook.test.js

16 lines
417 B
JavaScript
Raw Normal View History

2020-03-03 20:30:50 +00:00
import {testService} from './util';
const VALID = [
'https://www.facebook.com/oculusvr/videos/814277555340427/'
];
const INVALID = [
'https://www.facebook.com/',
'https://www.facebook.com/photo.php?v=426337427566302&type=2&theater'
];
testService('facebook', VALID, INVALID, /^https\:\/\/scontent\.xx\.fbcdn\.net\/v\//);
//https://graph.facebook.com/814277555340427
//https://scontent.xx.fbcdn.net/v/