mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
Swap rename to use DacFx move api (#22051)
* swap rename to use DacFx project apis * add support for rename pre/post deploy scripts and add tests * update the enum names too * check instanceof instead of getting and iterating through all the collections
This commit is contained in:
@@ -86,13 +86,13 @@ describe('Project Tree tests', function (): void {
|
||||
DatabaseProjectItemType.sqlcmdVariablesRoot,
|
||||
DatabaseProjectItemType.folder,
|
||||
DatabaseProjectItemType.folder,
|
||||
DatabaseProjectItemType.sqlObjectFile]);
|
||||
DatabaseProjectItemType.sqlObjectScript]);
|
||||
|
||||
should(tree.children.find(x => x.relativeProjectUri.path === '/TestProj/someFolder')?.children.map(y => y.treeItem.contextValue)).deepEqual([
|
||||
DatabaseProjectItemType.folder,
|
||||
DatabaseProjectItemType.folder,
|
||||
DatabaseProjectItemType.sqlObjectFile,
|
||||
DatabaseProjectItemType.sqlObjectFile]);
|
||||
DatabaseProjectItemType.sqlObjectScript,
|
||||
DatabaseProjectItemType.sqlObjectScript]);
|
||||
});
|
||||
|
||||
it('Should be able to parse windows relative path as platform safe path', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user