This commit is contained in:
Edijs 2019-02-10 12:06:13 -07:00
parent fc26f1852e
commit 7addd408a9

View file

@ -17,7 +17,7 @@ const externalAttn = () => ({
}) })
describe('MatcherService', () => { describe('MatcherService', () => {
describe.only('mentionMatchesUrl', () => { describe('mentionMatchesUrl', () => {
it('should match local mention', () => { it('should match local mention', () => {
const attention = localAttn() const attention = localAttn()
const url = 'https://instance.com/users/person' const url = 'https://instance.com/users/person'
@ -60,7 +60,7 @@ describe('MatcherService', () => {
expect(MatcherService.mentionMatchesUrl(attention, url)).to.eql(false) expect(MatcherService.mentionMatchesUrl(attention, url)).to.eql(false)
}) })
}) })
describe.only('extractTagFromUrl', () => { describe('extractTagFromUrl', () => {
it('should return tag name from valid pleroma url', () => { it('should return tag name from valid pleroma url', () => {
const url = 'https://website.com/tag/photo' const url = 'https://website.com/tag/photo'