-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into visual/dynamic-layout
- Loading branch information
Showing
7 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
Composer/packages/lib/indexers/__tests__/dialogUtils/dialogChecker.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import { createPath } from './../../src/dialogUtils/dialogChecker'; | ||
|
||
describe('create right diagnostic path', () => { | ||
it('should check if the diagnostics have errors', () => { | ||
expect(createPath('Main.triggers[7].actions[0].cases[1].actions[0].condition', 'type')).toBe( | ||
'Main.triggers[7].actions[0].cases[1].actions[0]#type#condition' | ||
); | ||
expect(createPath('Main.triggers[7].actions[0].condition', 'type')).toBe( | ||
'Main.triggers[7].actions[0]#type#condition' | ||
); | ||
expect(createPath('Main.triggers[7].condition', 'type')).toBe('Main.triggers[7]#type#condition'); | ||
expect(createPath('Main.triggers[7].actions[0].elseActions[0].condition', 'type')).toBe( | ||
'Main.triggers[7].actions[0].elseActions[0]#type#condition' | ||
); | ||
expect(createPath('Main.triggers[7].actions[0]', 'type')).toBe('Main.triggers[7].actions[0]#type'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters