build(broccoli): reorder tree-differ specs
This commit is contained in:
parent
05becf8431
commit
b14417498a
|
@ -297,7 +297,6 @@ describe('TreeDiffer', () => {
|
|||
let diffResult = differ.diffTree();
|
||||
expect(diffResult.changedPaths).toEqual(['file-2.txt']);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
it('should detect file additions mixed with file changes', () => {
|
||||
|
@ -316,6 +315,7 @@ describe('TreeDiffer', () => {
|
|||
let diffResult = differ.diffTree();
|
||||
expect(diffResult.changedPaths).toEqual(['file-1.txt', 'file-2.txt']);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
describe('diff of removed files', () => {
|
||||
|
@ -337,7 +337,6 @@ describe('TreeDiffer', () => {
|
|||
expect(diffResult.changedPaths).toEqual([]);
|
||||
expect(diffResult.removedPaths).toEqual(['file-1.txt']);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
it('should detect file removals mixed with file changes and additions', () => {
|
||||
|
@ -363,3 +362,4 @@ describe('TreeDiffer', () => {
|
|||
expect(diffResult.removedPaths).toEqual(['file-2.txt']);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue