Merge branch 'backend-repo-url' into 'develop'
Extract backend repository from nodeinfo See merge request pleroma/pleroma-fe!1864
This commit is contained in:
commit
e4a1a56dbd
7 changed files with 5 additions and 25 deletions
|
|
@ -1,11 +0,0 @@
|
|||
import { extractCommit } from 'src/services/version/version.service.js'
|
||||
|
||||
describe('extractCommit', () => {
|
||||
it('return short commit hash following "-g" characters', () => {
|
||||
expect(extractCommit('1.0.0-45-g5e7aeebc')).to.eql('5e7aeebc')
|
||||
})
|
||||
|
||||
it('return short commit hash without branch name', () => {
|
||||
expect(extractCommit('1.0.0-45-g5e7aeebc-branch')).to.eql('5e7aeebc')
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue