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
for (i = 0; i < 10; i++) { | |
} |
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
curl 'https://surfweb.development.travel.theculturetrip.com/api/product-search/cart?timestamp=1559573646647' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:3000/bookable/ibe/passenger?ci=HTL_20190425_20190428_AUS_EAN575868&fc=HTL_201470116:N:N_RO&ex=&pax=2-0-0-0&childDob=&locale=en¤cy=GBP' -H 'Origin: http://localhost:3000' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' -H 'content-type: application/json' --data-binary $'{\n "excludeOnRequest": true,\n "sortBy": null,\n "sortAscending": true,\n "includeFCResults": true,\n "productCode": "TMD",\n "groupAttrs": [\n {\n "name": "resBookingType",\n "value": "STD"\n },\n {\n "name": "comp",\n "value": "CT"\n },\n {\n "name": "div",\n "value": "CT_LON"\n },\n {\n "name": "brd",\n "value": "CT_OL"\n },\n {\n "name": "dchannel",\n "value": "U"\n },\n {\n |
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
{ | |
"status": { | |
"code": 1, | |
"message": "SUCCESS" | |
}, | |
"keyControls": { | |
"cliId": 0, | |
"userId": 0 | |
}, | |
"data": [ |
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
$ CI=true NODE_ENV=test jest --detectOpenHandles --forceExit --verbose --coverage --colors --runInBand | |
Delist API listening on port 8080 | |
·[0m·[7m·[1m·[31m FAIL ·[39m·[22m·[27m·[0m ·[2msrc/__tests__/integration/·[22m·[1mcompare-skus.spec.js·[22m | |
JDA Feed | |
·[32m✓·[39m ·[2mWill not update delist_skus if jda_dump is identical to jda_history (145ms)·[22m | |
·[32m✓·[39m ·[2mDo not update delist_skus if matching skus with jda_dump and jda_history is empty (90ms)·[22m | |
·[32m✓·[39m ·[2mUpdates delist_skus if !== jda_dump and jda_history is empty (92ms)·[22m | |
·[31m✕·[39m ·[2mUpdates delist_skus if !== jda_dump and !== jda_history (99ms)·[22m | |
·[32m✓·[39m ·[2mSets `to_resolve` in delist_skus to `TRUE` if sku has multiple suppliers compared to jda_dump and jda_history is empty (80ms)·[22m | |
·[32m✓·[39m ·[2mUpdates delist_skus if jda_dump !== jda_history (multiple suppliers) (84ms)·[22m |
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
{ | |
"feed_date": "2018-10-30T09:44:37Z", | |
"subcats": [ | |
{ | |
"sub_cat_id": "E01", | |
"sub_cat_name": "Eggs", | |
"suppliers": [ | |
{ | |
"supplier_code": "MF01", | |
"supplier_name": "Marsh Farms", |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
class FormInput extends React.Component { | |
constructor(props) { | |
super(props); | |
this.onChange = this.onChange.bind(this); | |
this.state = { | |
value: props.value | |
}; |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
class FormInput extends React.Component { | |
constructor(props) { | |
super(props); | |
this.onChange = this.onChange.bind(this); | |
this.state = { | |
value: props.value | |
}; |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
class FormInput extends React.Component { | |
constructor(props) { | |
super(props); | |
this.onChange = this.onChange.bind(this); | |
this.state = { | |
value: props.value | |
}; |
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
module.exports = { | |
apps: [ | |
{ | |
name: "app-b2b-marketplace", | |
script: "./app-b2b-marketplace/dist/server/index.js", | |
watch: true, | |
cwd: "./app-b2b-marketplace", | |
env: { | |
"SERVICE_ENV": "local", | |
"NODE_ENV": "development" |
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
{ | |
"_id" : ObjectId("59491d15231d590011efe169"), | |
"id" : 5743288010.0, | |
"email" : "[email protected]", | |
"closed_at" : null, | |
"created_at" : "2017-06-20T14:03:16+01:00", | |
"updated_at" : "2017-06-20T14:03:17+01:00", | |
"number" : NumberInt(3), | |
"note" : null, | |
"token" : "96ce595251506af3f97dd3403cbffaa8", |
NewerOlder