File tree 4 files changed +7
-2
lines changed
4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ conference:
8
8
- ember
9
9
-
10
10
links :
11
- playlist : https://www.youtube.com/watch?v=OInJBwS8VDQ& list=PLE7tQUdRKcyYzUUTUJ4LwayKH8p5spYvv
11
+ playlist : https://www.youtube.com/playlist? list=PLE7tQUdRKcyYzUUTUJ4LwayKH8p5spYvv
12
12
twitter : EmberConf
13
13
youtube : UCWnPjmqvljcafA0z2U1fwKQ
14
14
website : https://2016.emberconf.com/
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ conference:
8
8
-
9
9
-
10
10
links :
11
- playlist : https://www.youtube.com/playlist?list=UUmz8kA8ldl1QsH-m4WDVIGA
11
+ playlist : https://www.youtube.com/playlist?list=PL-NdCZbM-0-tBj_Vmh4BNJ87jFLgPFBeD
12
12
twitter : confrontjs
13
13
youtube : UCmz8kA8ldl1QsH-m4WDVIGA
14
14
website : https://confrontjs.com/
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ module.exports.INFO_STATUS_INCOMPLETE = 'incomplete';
9
9
module . exports . REGEX_ID_YOUTUBE_CHANNEL =
10
10
/ ^ [ a - z A - Z 0 - 9 _ - ] { 24 } $ / ;
11
11
12
+ module . exports . REGEX_URL_YOUTUBE_PLAYLIST =
13
+ / ^ h t t p s : \/ \/ w w w \. y o u t u b e \. c o m \/ p l a y l i s t \? l i s t = ( [ a - z A - Z 0 - 9 _ - ] { 34 } ) $ / ;
14
+
12
15
// SYNC_REGEX_URL_YOUTUBE
13
16
module . exports . REGEX_URL_YOUTUBE =
14
17
/ ^ h t t p s : \/ \/ y o u t u \. b e \/ ( [ a - z A - Z 0 - 9 _ - ] { 11 } ) $ / ;
Original file line number Diff line number Diff line change 9
9
INFO_STATUS_COMPLETE ,
10
10
INFO_STATUS_INCOMPLETE ,
11
11
REGEX_ID_YOUTUBE_CHANNEL ,
12
+ REGEX_URL_YOUTUBE_PLAYLIST ,
12
13
REGEX_URL_YOUTUBE ,
13
14
REGEX_URL_VIMEO ,
14
15
} = require ( '../js/utils/utils-node' ) ;
@@ -119,6 +120,7 @@ glob.sync(testGlob).forEach(file => {
119
120
120
121
it ( 'contains valid playlist URL' , ( ) => {
121
122
conference . links . playlist && expect ( conference . links . playlist . match ( REGEX_URL ) ) . not . toBeNull ( ) ;
123
+ conference . links . playlist && conference . links . playlist . includes ( 'www.youtube.com' ) && expect ( conference . links . playlist . match ( REGEX_URL_YOUTUBE_PLAYLIST ) ) . not . toBeNull ( ) ;
122
124
} ) ;
123
125
124
126
it ( 'contains valid Twitter account ID' , ( ) => {
You can’t perform that action at this time.
0 commit comments