Get the machine ready by updating the software repository and then upgrading any outdated libraries.
sudo apt update
sudo apt upgradeTo avoid any conflicting packages on the machine run
| { | |
| "openapi": "3.0.2", | |
| "info": { | |
| "title": "Global Trade and Supply Chain", | |
| "description": "REST API for Global Trade and Supply Chain building blocks.", | |
| "version": "0.0.1", | |
| "license": { | |
| "name": "Apache 2.0 License", | |
| "url": "https://opensource.org/licenses/Apache-2.0" | |
| } |
| a9497e5ea2499b1db75b8bfde54c0eab |
| { | |
| "info": { | |
| "_postman_id": "aa2c06b6-d91e-49f8-924e-6f55cebf0650", | |
| "name": "TLIP API KRA", | |
| "description": "Global Trade and Supply Chain", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
| "_exporter_id": "5475691", | |
| "_collection_link": "https://lunar-moon-491203.postman.co/workspace/TLIP~72f3d10b-4374-4f37-9afa-076cc7b73433/collection/30834798-aa2c06b6-d91e-49f8-924e-6f55cebf0650?action=share&source=collection_link&creator=5475691" | |
| }, | |
| "item": [ |
| const assert = require("assert"); | |
| function describe(testcase, callback) { | |
| console.log(testcase); | |
| callback(); | |
| } | |
| function it(description, callback) { | |
| try { | |
| callback(); |
| function it(description, callback) { | |
| try { | |
| callback(); | |
| console.log(`\t ✓ ${description}`); | |
| } catch (e) { | |
| console.log(`\t x ${description}`); | |
| } | |
| } |
| const assert = require("assert"); | |
| // .. code | |
| function expect(actual) { | |
| return { | |
| toEqual(expected) { | |
| assert.equal(actual, expected); | |
| }, | |
| toBe(expected) { |
| function describe(testcase, callback) { | |
| console.log(testcase); | |
| callback(); | |
| } | |
| function it(description, callback) { | |
| callback(); | |
| } | |
| function expect(actualVal) { |
| describe('Calculator', () => { | |
| it('should get the sum of two numbers', () => { | |
| const sum = sum(5, 5); | |
| expect(sum).toEqual(10); | |
| }); | |
| }); |
| function sum (num1, num2) { | |
| return num1 + num2 | |
| } |