-
Notifications
You must be signed in to change notification settings - Fork 98
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
Wr/improve did you mean #1329
Wr/improve did you mean #1329
Conversation
genUniqueDir: false, | ||
outputDirectory: 'output', | ||
}); | ||
expect(lifecycleSpy.calledOnce).to.be.true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this comes back false
does that mean it was not called, or called twice?
[see below comment...does the warning count matter, or does the test only care that the expected warning happened?]
expect(lifecycleSpy.calledOnce).to.be.true; | |
expect(lifecycleSpy.callCount).to.equal(1); |
outputDirectory: 'output', | ||
}); | ||
expect(lifecycleSpy.calledOnce).to.be.true; | ||
expect(lifecycleSpy.args[0][0]).to.equal( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you write this to assert that the expected error exists, not its ordinality, so that some future warning doesn't break the UT?
QA: converted project to MDAPI, deleted applications/dreamhouse, then put the mdapi version in its place change change a flexipage tested: ✅ apexClass ( w/ content type because those have 2 files, one w/ and without the -meta.xml) |
What does this PR do?
fixes a bug when a MD format file was converted to MD format, it would strip the last char from the file path, and then cause a error when trying to identify the metadata with the then incorrect suffix
fixes error
it now emits a warning when md format files are found and the
toFormat
is metadataWhat issues does this PR fix or reference?
@W-15783171@
Functionality Before
Functionality After