Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 985f084

Browse files
committed
test: fix tests
1 parent 67e7614 commit 985f084

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ dist/
22
node_modules/
33
coverage/
44
.cache/
5+
.nyc_output/

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
package.json
22
package-lock.json
33
dist/
4-
.cache/
4+
.cache/
5+
coverage/
6+
.nyc_output/

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
2-
node_js: '10'
2+
node_js: "10"
33
cache:
44
directories:
55
- ~/.npm
@@ -13,10 +13,9 @@ jobs:
1313
- npm run prettier-check
1414
- npm run tslint
1515
- npm run build
16-
- npm test
1716
- npm run cover
1817
- nyc report --reporter json
19-
- 'bash <(curl -s https://codecov.io/bash)'
18+
- "bash <(curl -s https://codecov.io/bash)"
2019
stages:
2120
- test
2221
branches:

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function activate(context: sourcegraph.ExtensionContext): void {
1313
// TODO(lguychard) sourcegraph.configuration is currently not rxjs-compatible.
1414
// Fix this once it has been made compatible.
1515
const configurationChanges = new BehaviorSubject<void>(undefined)
16-
context.subscriptions.add(sourcegraph.configuration.subscribe(() => configurationChanges.next()))
16+
context.subscriptions.add(sourcegraph.configuration.subscribe(() => configurationChanges.next(undefined)))
1717

1818
if (sourcegraph.app.activeWindowChanges) {
1919
const selectionChanges = from(sourcegraph.app.activeWindowChanges).pipe(

0 commit comments

Comments
 (0)