Skip to content

Bump vscode-tas-client #22490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Bump vscode-tas-client #22490

wants to merge 1 commit into from

Conversation

karrtikr
Copy link

Closes #22461

Comment on lines +1 to +13
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// For some reason exporting it directly from 'vscode-tas-client' doesn't work well in unit tests with sinon.
// export { getExperimentationService } from 'vscode-tas-client';
// Hence getting it using require...

import type * as tasClientTypes from 'vscode-tas-client';

// eslint-disable-next-line global-require
const tasClient = require('vscode-tas-client') as typeof tasClientTypes;

export const { getExperimentationService } = tasClient;
Copy link
Author

@karrtikr karrtikr Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried investigating what changed in the definition files, but couldn't find anything obvious. Hence going with this workaround.

@karrtikr karrtikr added the debt Covers everything internal: CI, testing, refactoring of the codebase, etc. label Nov 17, 2023
@karrtikr karrtikr marked this pull request as ready for review November 17, 2023 07:41
@karrtikr karrtikr enabled auto-merge (squash) November 17, 2023 07:45
@karrtikr
Copy link
Author

Closing, we have a better fix with sinon.

@karrtikr karrtikr closed this Nov 18, 2023
auto-merge was automatically disabled November 18, 2023 00:09

Pull request was closed

@karthiknadig karthiknadig deleted the kartik/passing-beaver branch June 13, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Covers everything internal: CI, testing, refactoring of the codebase, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant