aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-30 19:24:01 +0200
committerChocobozzz <me@florianbigard.com>2023-08-30 19:24:01 +0200
commit6495764268348b8f842b4d3ac4c5f1d2026164d6 (patch)
tree92774a242a51ff3ceaf32d5d31792f09bad4492b /packages/tests
parent76dbe843d1cd9cb96898bc994f64fabc0e6a48c4 (diff)
downloadPeerTube-6495764268348b8f842b4d3ac4c5f1d2026164d6.tar.gz
PeerTube-6495764268348b8f842b4d3ac4c5f1d2026164d6.tar.zst
PeerTube-6495764268348b8f842b4d3ac4c5f1d2026164d6.zip
Fix chapters extract
Diffstat (limited to 'packages/tests')
-rw-r--r--packages/tests/src/server-helpers/core-utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/tests/src/server-helpers/core-utils.ts b/packages/tests/src/server-helpers/core-utils.ts
index 0df238e88..13001b137 100644
--- a/packages/tests/src/server-helpers/core-utils.ts
+++ b/packages/tests/src/server-helpers/core-utils.ts
@@ -206,6 +206,7 @@ describe('Extract chapters', function () {
206 expect(parseChapters('my super description\nno?')).to.deep.equal([]) 206 expect(parseChapters('my super description\nno?')).to.deep.equal([])
207 expect(parseChapters('m00:00 super description\nno?')).to.deep.equal([]) 207 expect(parseChapters('m00:00 super description\nno?')).to.deep.equal([])
208 expect(parseChapters('00:00super description\nno?')).to.deep.equal([]) 208 expect(parseChapters('00:00super description\nno?')).to.deep.equal([])
209 expect(parseChapters('my super description\n'.repeat(10) + ' * list1\n * list 2\n * list 3')).to.deep.equal([])
209 }) 210 })
210 211
211 it('Should extract chapters', function () { 212 it('Should extract chapters', function () {