diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-03-29 21:52:47 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-03-29 21:52:47 +0900 |
commit | ac18ad17e62834131399074b09f742266761ac2d (patch) | |
tree | 2323a635579371017d13f6e809f6f05ab149c467 | |
parent | c3be3dde555d1f51f696f4bfbe181e7bad6d3563 (diff) |
Complete by flags
-rw-r--r-- | test/background/completion/TabCompletionUseCase.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/background/completion/TabCompletionUseCase.test.ts b/test/background/completion/TabCompletionUseCase.test.ts index 9df236d..b9dc60b 100644 --- a/test/background/completion/TabCompletionUseCase.test.ts +++ b/test/background/completion/TabCompletionUseCase.test.ts @@ -122,7 +122,7 @@ describe('TabCompletionUseCase', () => { it("returns a tab by the index", async () => { expect(await sut.queryTabs('1', false)).to.deep.equal([ - { index: 1, title: 'Google', url: 'https://google.com/', faviconUrl: 'https://google.com/favicon.ico', flag: TabFlag.CurrentTab }, + { index: 1, title: 'Google', url: 'https://google.com/', faviconUrl: 'https://google.com/favicon.ico', flag: TabFlag.None }, ]); expect(await sut.queryTabs('10', false)).to.be.empty; @@ -131,7 +131,7 @@ describe('TabCompletionUseCase', () => { it("returns the current tab by % flag", async () => { expect(await sut.queryTabs('%', false)).to.deep.equal([ - { index: 2, title: 'Yahoo', url: 'https://yahoo.com/', faviconUrl: 'https://yahoo.com/favicon.ico', flag: TabFlag.LastTab }, + { index: 2, title: 'Yahoo', url: 'https://yahoo.com/', faviconUrl: 'https://yahoo.com/favicon.ico', flag: TabFlag.CurrentTab }, ]); }); |