Code Monkey home page Code Monkey logo

phase-1-context-lab's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phase-1-context-lab's Issues

Typo Within Comment For Test For 'rTimeData' Array

Canvas Link

https://learning.flatironschool.com/courses/5284/assignments/172059?module_item_id=376034

Concern

This section is incorrect within 'indextTest.js':

let rTimeData = [
["2019-01-11 0900", "2019-01-11 1300"], // 4 * 10 = 40
["2019-01-12 1000", "2019-01-12 1300"] // 3 * 10 = 40 ===> 70 total ||=> 770
];

Additional Context

No response

Suggested Changes

Corrected section:

let rTimeData = [
["2019-01-11 0900", "2019-01-11 1300"], // 4 * 10 = 40
["2019-01-12 1000", "2019-01-12 1300"] // 3 * 10 = 30 ===> 70 total ||=> 770
];

Tests refer to wrong function name

Canvas Link

https://learning.flatironschool.com/courses/4204/assignments/124414?module_item_id=256310

Concern

The mocha tests describe a function name as payrollExpense but the function being tested for is calculatePayroll.

describe("Given an array of multiple employees", function () {
   it("payrollExpense aggregates all the dates' wages and adds them together", function () {
      expect(calculatePayroll).to.exist
   })
})

Additional Context

No response

Suggested Changes

Update tests to describe calculatePayroll

Mistake in Context Lab tests

Canvas Link

https://learning.flatironschool.com/courses/5300/assignments/179685?module_item_id=397126

Concern

The final test in the Context Lab contains a mistake. I couldn't get the correct value to return so I did the math by hand and the expected value for the test (11880) does not equal the actual sum of the relevant data (12480).

Additional Context

No response

Suggested Changes

Check the final test and either correct the values used to run the test so that they result in the current expected value or adjust the expected value to match the inputs.

Context Lab

Realized that this lab is depending on 'this' keyword primarily, please ignore and delete.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.