From 103c06da3938a78a1badc35a051fad4998ac7274 Mon Sep 17 00:00:00 2001 From: Austin Schaffer Date: Tue, 14 Jan 2020 12:59:00 -0500 Subject: [DEV-6730] Post whether or not a save step will conclude the process --- test/client/transport/XhttpQuoteTransportTest.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/client/transport/XhttpQuoteTransportTest.js b/test/client/transport/XhttpQuoteTransportTest.js index 0401d24..0bfdd7f 100644 --- a/test/client/transport/XhttpQuoteTransportTest.js +++ b/test/client/transport/XhttpQuoteTransportTest.js @@ -58,6 +58,8 @@ describe( "XhttpQuoteTransport", () => bs: [ null ], }; + const concluding_save = true; + const stub_quote = { visitData: c => c( bucket ) }; const mock_proxy = { @@ -66,10 +68,13 @@ describe( "XhttpQuoteTransport", () => expect( JSON.parse( data.data ) ) .to.deep.equal( expected_data ); + expect( JSON.parse( data.concluding_save ) ) + .to.deep.equal( concluding_save ); + done(); }, }; - Sut( '', mock_proxy ).send( stub_quote ); + Sut( '', mock_proxy, concluding_save ).send( stub_quote ); } ); } ); -- cgit v1.2.1