refactor(skill): remove cargo preset limitations and related test cases
This commit is contained in:
1 parent
d26992c940
commit
c8e8d2b76e
4 files changed
+2
-32
No files matched your search
@@ -73,15 +73,5 @@ describe('xget skill helpers', () => {
|
||||
'Only add "pip config set global.trusted-host xget.example.com" when the deployment really needs it.'
|
||||
);
|
||||
});
|
||||
|
||||
it('returns an explicit unsupported notice for cargo instead of a broken config file', () => {
|
||||
const snippet = createSnippet(BASE_URL, 'cargo');
|
||||
|
||||
expect(snippet.supported).toBe(false);
|
||||
expect(snippet.files).toBeUndefined();
|
||||
expect(snippet.notes).toContain(
|
||||
'Do not generate ~/.cargo/config.toml source replacement entries until Xget provides a registry index endpoint.'
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user