mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 04:06:26 +01:00
4cbd1042c0
* Include inline completions in @vscode/chat-lib * Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction * update @vscode/chat-lib test configuration * update chat lib extraction with new path and add context setup for lib * initial stubs for inline completions test * round trip test for getInlineCompletions * remove unused path mappings * fix type import * send only original event names for chat-lib telemetry * fix wasm loading in chat-lib * have locateFile default to the current dir if the expected parent directory cannot be found * update to use service injection with completions in chat-lib * update citation and ExP handling for completions in chat-lib * hook up enhanced telemetry for chat-lib * add missing tsx package * update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies * remove unneeded try/catch block * correct typo * generate package-lock from correct npm version --------- Co-authored-by: Christof Marti <chrmarti@microsoft.com>
21 lines
720 B
TypeScript
21 lines
720 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { loadEnv } from 'vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig(({ mode }) => ({
|
|
test: {
|
|
include: ['**/*.spec.ts', '**/*.spec.tsx'],
|
|
exclude: [
|
|
'**/node_modules/**',
|
|
'**/dist/**',
|
|
'**/.{idea,git,cache,output,temp}/**'
|
|
],
|
|
env: loadEnv(mode, process.cwd(), ''),
|
|
environment: 'node',
|
|
globals: true
|
|
}
|
|
})); |