This file contains hidden or 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
| const identifiers = { | |
| id: 1, | |
| referenceNumber: '123' | |
| }; | |
| const convert = R.compose(R.map(R.zipObj(['key', 'value'])), R.toPairs); | |
| convert(identifiers); |
This file contains hidden or 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
| Target "TestCoverage" (fun _ -> | |
| let filters = "" | |
| !! unitTestsFiles | |
| |> DotCoverNUnit3 (fun p -> | |
| { p with | |
| Output = artifactsDir @@ "NUnitDotCover.snapshot" | |
| Filters = filters }) nunitOptions | |
| tracefn "##teamcity[importData type='dotNetCoverage' tool='dotcover' path='%s']" (artifactsDir @@ "NUnitDotCover.snapshot") |
This file contains hidden or 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
| [AfterScenario(Order = 0)] | |
| public void ErrorHandling() | |
| { | |
| WriteBrowserLogs(); | |
| } | |
| private void WriteBrowserLogs() | |
| { | |
| var driverType = SeleniumController.Instance.DriverType; | |
| if (driverType != SeleniumDriverType.Chrome) |
This file contains hidden or 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
| var cert = Org.BouncyCastle.Security.DotNetUtilities.FromX509Certificate(x509certificate); | |
| using (var stringWriter = new StringWriter()) | |
| { | |
| var pemWriter = new Org.BouncyCastle.OpenSsl.PemWriter(stringWriter); | |
| pemWriter.WriteObject(cert.GetPublicKey()); | |
| var pem = stringWriter.ToString(); | |
| } |
This file contains hidden or 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
| public class ReconciliationSubmissionSaga : Saga<ReconciliationSubmissionSagaData>, | |
| IAmStartedByMessages<StartReconciliationSubmissionCommand>, | |
| IHandleMessages<StoreManualAgreementReconciliationFailedEvent>, | |
| ... | |
| { | |
| ... | |
| public Task Handle(StoreManualAgreementReconciliationFailedEvent message, IMessageHandlerContext context) | |
| { | |
| Data.SagaState = "StoreManualAgreementReconciliationFailed"; |