Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studyportals/sp-lurch-interface

Package Overview
Dependencies
Maintainers
12
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/sp-lurch-interface - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

tests-u/results/discard-input-batch-result.test.d.ts

2

package.json
{
"name": "@studyportals/sp-lurch-interface",
"version": "2.8.0",
"version": "2.8.1",
"description": "Contains Data Transfer Objects required or provided by Lurch through its interface.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -88,3 +88,2 @@ "use strict";

const inputBatchIdentity = "InputBatchIdentity";
const representativeIdentity = "RepresentativeIdentity";
yield this.testInstance.approveInputBatch(inputBatchIdentity);

@@ -105,2 +104,26 @@ this.mockedRequest.verify(_ => _.send(typemoq_1.It.isObjectWith({ inputBatchIdentity: inputBatchIdentity })), typemoq_1.Times.once());

}
discardInputBatch__PostRequestCreatedForCorrectPath() {
return __awaiter(this, void 0, void 0, function* () {
yield this.testInstance.discardInputBatch(typemoq_1.It.isAny());
this.mockedTestInstance.verify(_ => _["createPostRequest"]("/input-batch/discard"), typemoq_1.Times.once());
});
}
discardInputBatch__InputBatchIdentitySpecified() {
return __awaiter(this, void 0, void 0, function* () {
const inputBatchIdentity = "InputBatchIdentity";
yield this.testInstance.discardInputBatch(inputBatchIdentity);
this.mockedRequest.verify(_ => _.send(typemoq_1.It.isObjectWith({ inputBatchIdentity: inputBatchIdentity })), typemoq_1.Times.once());
});
}
discardInputBatch__RequestSent() {
return __awaiter(this, void 0, void 0, function* () {
let awaited = false;
this.mockedRequestSender.setup(_ => _.send(typemoq_1.It.isAny()))
.returns(() => new Promise(_ => setImmediate(() => { awaited = true; _(); })));
;
yield this.testInstance.discardInputBatch(typemoq_1.It.isAny());
this.mockedRequestSender.verify(_ => _.send(this.request), typemoq_1.Times.once());
chai_1.assert.isTrue(awaited);
});
}
createGetRequest__UrlCorrectlyBuilt() {

@@ -197,2 +220,20 @@ const { mockedTestInstance, testInstance } = this.createTestInstance();

__metadata("design:paramtypes", []),
__metadata("design:returntype", Promise)
], LurchClientTest.prototype, "discardInputBatch__PostRequestCreatedForCorrectPath", null);
__decorate([
mocha_typescript_1.test,
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:returntype", Promise)
], LurchClientTest.prototype, "discardInputBatch__InputBatchIdentitySpecified", null);
__decorate([
mocha_typescript_1.test,
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:returntype", Promise)
], LurchClientTest.prototype, "discardInputBatch__RequestSent", null);
__decorate([
mocha_typescript_1.test,
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:returntype", void 0)

@@ -199,0 +240,0 @@ ], LurchClientTest.prototype, "createGetRequest__UrlCorrectlyBuilt", null);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc