Skip to content

PaddingtonBrown/tech-challenge-js-candidate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TShirt Ventures tech exercise

Hey! Congrats on the interview progress!

We need your help to get our tests passing.

While doing this. Remember to:

  • Share your thoughts and think the problem out aloud.
  • Ask clarifying questions to make sure you are building the correct thing.

You can get the tests passing by implementing 3_spendTargetReport.ts to convert a plan and invoices into a spending report for the period JAN through MAR.

The report will tell us whether we have under spent, over spent or on track for each of the plan items.

For example:

[
    {
        category: "Core Supports",
        categorySpend: 1380,
        code: 1,
        initialBudget: 4800,
        remainingBudget: 3420,
        target: "OVERSPEND",
    },
    {
        category: "Home Care",
        categorySpend: 618,
        code: 3,
        initialBudget: 2400,
        remainingBudget: 1782,
        target: "ON_TRACK",
    },
    {
        category: "transport",
        categorySpend: 312,
        code: 15,
        initialBudget: 1560,
        remainingBudget: 1248,
        target: "UNDERSPEND",
    },
];

About

js challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%