mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 09:17:53 +00:00
cleanup unused allowBuildArtifacts (#1010)
This commit is contained in:
@@ -106,18 +106,15 @@ describe('Server Config (config.ts)', () => {
|
||||
it('should set default file filtering settings when not provided', () => {
|
||||
const config = new Config(baseParams);
|
||||
expect(config.getFileFilteringRespectGitIgnore()).toBe(true);
|
||||
expect(config.getFileFilteringAllowBuildArtifacts()).toBe(false);
|
||||
});
|
||||
|
||||
it('should set custom file filtering settings when provided', () => {
|
||||
const paramsWithFileFiltering: ConfigParameters = {
|
||||
...baseParams,
|
||||
fileFilteringRespectGitIgnore: false,
|
||||
fileFilteringAllowBuildArtifacts: true,
|
||||
};
|
||||
const config = new Config(paramsWithFileFiltering);
|
||||
expect(config.getFileFilteringRespectGitIgnore()).toBe(false);
|
||||
expect(config.getFileFilteringAllowBuildArtifacts()).toBe(true);
|
||||
});
|
||||
|
||||
it('Config constructor should set telemetry to true when provided as true', () => {
|
||||
|
||||
Reference in New Issue
Block a user