{"version":3,"sources":["../../src/models/business.spec.ts"],"sourcesContent":["import { beforeEach, describe, expect, it, jest, xit } from \"@jest/globals\";\nimport { Business, Cashflow } from \".\";\n\n//const spy = jest.spyOn(mockCustomerDashboardService, \"getKPIReport\");\n\ndescribe(\"Business\", () => {\n  let nekutima: Business;\n\n  beforeEach(() => {\n    nekutima = new Business(\"Nekutima\");\n  });\n\n  describe(\"results\", () => {\n    describe(\"R - Resources\", () => {\n      it(\"should compile the current result\", () => {\n        // Given\n        const cashflow = { currentBalance: jest.fn(() => 114.10 ) } as unknown as Cashflow;\n        nekutima = new Business(\"Nekutima\", { cashflow });\n\n        //When\n        const currentResult = nekutima.currentResourcesResult();\n\n        // Then\n        expect(currentResult).toBe(114.1);\n      });\n    });\n\n    describe(\"I - Image\", () => {\n      xit(\"should compile the current result\", () => {\n        // Given\n\n        //When\n        const currentResult = nekutima.currentImageResult();\n\n        // Then\n        expect(currentResult).toBe(12);\n      });\n    });\n\n    describe(\"H - Human Development\", () => {\n      xit(\"should compile the current result\", () => {\n        // Given\n\n        //When\n        const currentResult = nekutima.currentHumanResult();\n\n        // Then\n        expect(currentResult).toBe(12);\n      });\n    });\n\n    describe(\"O - Operations\", () => {\n      xit(\"should compile the current result\", () => {\n        // Given\n\n        //When\n        const currentResult = nekutima.currentOperationsResult();\n\n        // Then\n        expect(currentResult).toBe(12);\n      });\n    });\n\n    describe(\"X - Integration\", () => {\n      xit(\"should compile the current result\", () => {\n        // Given\n        //When\n        // const currentResult = nekutima.currentIntegrationResult();\n        // Then\n        //expect(currentResult).toBe(12);\n      });\n    });\n  });\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,YAAY,UAAU,QAAQ,IAAI,MAAM,WAAW;AAA5D;AAAA;AAAA;AACA;AAIA,aAAS,YAAY,MAAM;AACzB,UAAI;AAEJ,iBAAW,MAAM;AACf,mBAAW,IAAI,SAAS,UAAU;AAAA,MACpC,CAAC;AAED,eAAS,WAAW,MAAM;AACxB,iBAAS,iBAAiB,MAAM;AAC9B,aAAG,qCAAqC,MAAM;AAE5C,kBAAM,WAAW,EAAE,gBAAgB,KAAK,GAAG,MAAM,KAAO,EAAE;AAC1D,uBAAW,IAAI,SAAS,YAAY,EAAE,SAAS,CAAC;AAGhD,kBAAM,gBAAgB,SAAS,uBAAuB;AAGtD,mBAAO,aAAa,EAAE,KAAK,KAAK;AAAA,UAClC,CAAC;AAAA,QACH,CAAC;AAED,iBAAS,aAAa,MAAM;AAC1B,cAAI,qCAAqC,MAAM;AAI7C,kBAAM,gBAAgB,SAAS,mBAAmB;AAGlD,mBAAO,aAAa,EAAE,KAAK,EAAE;AAAA,UAC/B,CAAC;AAAA,QACH,CAAC;AAED,iBAAS,yBAAyB,MAAM;AACtC,cAAI,qCAAqC,MAAM;AAI7C,kBAAM,gBAAgB,SAAS,mBAAmB;AAGlD,mBAAO,aAAa,EAAE,KAAK,EAAE;AAAA,UAC/B,CAAC;AAAA,QACH,CAAC;AAED,iBAAS,kBAAkB,MAAM;AAC/B,cAAI,qCAAqC,MAAM;AAI7C,kBAAM,gBAAgB,SAAS,wBAAwB;AAGvD,mBAAO,aAAa,EAAE,KAAK,EAAE;AAAA,UAC/B,CAAC;AAAA,QACH,CAAC;AAED,iBAAS,mBAAmB,MAAM;AAChC,cAAI,qCAAqC,MAAM;AAAA,UAM/C,CAAC;AAAA,QACH,CAAC;AAAA,MACH,CAAC;AAAA,IACH,CAAC;AAAA;AAAA;","names":[]}