migrate github-extension to ESM

This commit is contained in:
Johannes
2025-04-16 16:04:12 +02:00
parent c7f69b4b93
commit 493874c390
21 changed files with 217 additions and 278 deletions

View File

@@ -6,7 +6,7 @@
import 'mocha';
import * as assert from 'assert';
import { workspace, extensions, Uri, commands } from 'vscode';
import { findPullRequestTemplates, pickPullRequestTemplate } from '../pushErrorHandler';
import { findPullRequestTemplates, pickPullRequestTemplate } from '../pushErrorHandler.js';
suite('github smoke test', function () {
const cwd = workspace.workspaceFolders![0].uri;

View File

@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as path from 'path';
import * as testRunner from '../../../../test/integration/electron/testrunner';
import * as testRunner from '../../../../test/integration/electron/testrunner.js';
const suite = 'Github Tests';
@@ -27,4 +27,4 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
testRunner.configure(options);
export = testRunner;
export default testRunner;