Merge pull request #544 from ueokande/refactor-background
Refactor background
This commit is contained in:
commit
dfeb7e7549
59 changed files with 502 additions and 476 deletions
|
@ -44,14 +44,5 @@ describe("shared/commands/parsers", () => {
|
|||
.to.equal('http://google.com');
|
||||
});
|
||||
});
|
||||
|
||||
describe('#homepageUrls', () => {
|
||||
it('split urls', () => {
|
||||
expect(parsers.homepageUrls('https://google.com/'))
|
||||
.to.deep.equal(['https://google.com/']);
|
||||
expect(parsers.homepageUrls('yahoo.com|https://i-beam.org/'))
|
||||
.to.deep.equal(['http://yahoo.com', 'https://i-beam.org/']);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue