Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dialog:merge tests #3404

Merged
merged 10 commits into from
Mar 17, 2021
Merged

Conversation

mdrichardson
Copy link
Contributor

@mdrichardson mdrichardson commented Mar 16, 2021

Replaces: #3399

Fixes #2636
Fixes #3405

Description

Ported over .NET's/BF-CLI's dialog:merge tests and added to CI workflow (only on the Node v10.x run).

@coveralls
Copy link

coveralls commented Mar 16, 2021

Pull Request Test Coverage Report for Build 662101311

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.02%) to 85.078%

Files with Coverage Reduction New Missed Lines %
libraries/botbuilder-lg/src/templateExtensions.ts 1 84.48%
libraries/adaptive-expressions/src/triggerTrees/node.ts 2 95.65%
Totals Coverage Status
Change from base Build 662059003: -0.02%
Covered Lines: 18784
Relevant Lines: 21032

💛 - Coveralls

@mdrichardson mdrichardson marked this pull request as draft March 17, 2021 15:52
@mdrichardson
Copy link
Contributor Author

Converting to draft while I add in this: #3405

@mdrichardson mdrichardson marked this pull request as ready for review March 17, 2021 20:02
// command was run. We only test for this in CI because these files are expected to differ
// when this test is run locally.
const newSchema = fs.existsSync(testsSchemaPath) && JSON.parse(testsSchemaFileResource.readText());
assert(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert.deepStrictEqual may be a good option? It should produce and output a diff that is human readable.

@joshgummersall joshgummersall merged commit f1dd668 into microsoft:main Mar 17, 2021
@mdrichardson mdrichardson deleted the freshSchemaMerge branch March 17, 2021 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

port: Enforce that tests.schema must be up to date (#5317) [PORT] Test dialog:merge in integration builds
3 participants