-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: project quality of life improvements (#254)
* refactor: simplify asset link URI resolving * refactor: simplify types in test utilities * refactor: keep same `getWorkspaceUri` parameters as `vscode.Uri.joinPath` * refactor: add types and simplufy `getWorkspaceUri` calls * refactor: move extension properties to environment variables
- Loading branch information
Showing
28 changed files
with
169 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import { expect } from 'chai'; | ||
import { extensions } from 'vscode'; | ||
|
||
import { EXTENSION_ID } from './utils/vscode'; | ||
|
||
describe('extension', () => { | ||
it('is activated', () => { | ||
expect(extensions.getExtension(EXTENSION_ID)?.isActive).to.equal(true); | ||
expect(extensions.getExtension(process.env.EXTENSION_ID)?.isActive).to.equal(true); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.