Skip to content

Commit b41a9d2

Browse files
committed
Enable Edge interception
1 parent 400345d commit b41a9d2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/interceptors/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { HtkConfig } from '../config';
44

55
import { FreshChrome } from './fresh-chrome';
66
import { FreshFirefox } from './fresh-firefox';
7+
import { FreshEdge } from './fresh-edge';
78
import { FreshTerminalInterceptor } from './terminal/fresh-terminal-interceptor';
89
import { ExistingTerminalInterceptor } from './terminal/existing-terminal-interceptor';
910
import { addShutdownHandler } from '../shutdown';
@@ -25,6 +26,7 @@ export function buildInterceptors(config: HtkConfig): _.Dictionary<Interceptor>
2526
const interceptors = [
2627
new FreshChrome(config),
2728
new FreshFirefox(config),
29+
new FreshEdge(config),
2830
new FreshTerminalInterceptor(config),
2931
new ExistingTerminalInterceptor(config),
3032
new ElectronInterceptor(config)

test/integration-test.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ describe('Integration test', function () {
147147
"isActive": false,
148148
"version": "1.0.0"
149149
},
150+
{
151+
"id": "fresh-edge",
152+
"isActivable": false, // TODO: Install Edge in Travis, to make this true
153+
"isActive": false,
154+
"version": "1.0.0"
155+
},
150156
{
151157
"id": "fresh-terminal",
152158
"isActivable": true,

0 commit comments

Comments
 (0)