week-1-assignment's People
Forkers
biswa418 hridyeshk mayankxcoder suresh2023 aswinj18 ashuk2000 sarswat001 naveen0910 virajjadhao5566 rraahhuulll theharshpat sammed-21 kaushik-nishant shivayan-bora pavanmca himanshu-redd mj-gowda shashwa7-dev biki-das souvick-mukherjee bansalgokul jatinsahijwani dev-ashank thfate07 chandraonweb khurramali1997 tejas-bangera rohitbhadu00 abhinaisai2002 gourabsanyal risarora falaknaaz123 rakshithsantosh adeshgg 0xamitdutta kashyaprajan11 mohdishaq22333 shree-1788 swaroopdiwakar007 parmarkaran01 sumitjadhwani strawhatrag avirupdg17 theunhackable nihadprakarsh gurkiratz vasu0001 amitrana01 illegalcall akashsawan1 chaitya-titan dhritidarbdydig haki-user yashnator pavan-malviya 0x-pankaj neon-20 vishal261199 noobie-nilay suryashanmukh ajay-oraon shruti2522 heyashishp anjaneya-sharma priyanshusinha11 shyynux abdullahkhan08 anuraag-ch tharundr shivambhadani shaunak012 ashwini524 secretkontributer raj-saroj-vst-au4 shahbazk010 surendrapm code-rpr somdyuti159 mrdeepthought bhaskar422 sharath-majjigi homosapien14 arjunivor jogeshwar01 rammy11 somu-code sahildarunde saurav4r mani-116 priyeranj ni-011 ashmeetsmonga ebe25 saisaranpathurineu shikhar1912 novicecoder27 tushar4059x luckyklyist tushartripathi mahesh9932week-1-assignment's Issues
Expenditure-analysis.js only allows a specific name for Total Price spent in output
In JS easy question 2 expenditure analysis, it requires a specific property name for the total amount in output object that is 'totalSpent' but the question doesn't hint it, if you make the entire program right and name the property something else it yields error and all test cases are passed on using the name 'totalSpent' in the output price but this isn't mentioned in question which tells to use 'total_amount_spent'
Can there be automated test cases for times.js ?
in JS medium question 2 Times.js where you need to find the time require to calculate sums, can it also have automated jest tests?
Updation required in Test Case for Calculator.js - Hard Problem in 01-js
Before :
test("calculate division by zero", () => {
expect(() => calc.calculate("10 / 0")).toThrow(Error);
});
After :
test("calculate division by zero", () => {
expect(() => calc.calculate("10 / 0").value()).toThrow(Error);
});
I would recommend this changes as current code is not working even if error is thrown while checking for division by zero. i.e,
Below code is correct in my view, but still test case is failing.
divide(num) {
if (num === 0) throw new Error("NaN");
this.result /= num;
}
No testcase files found
- There are no testcases found in the repo.
- Please mention the testcases or change the instructions.
- It is creating panic attack for many as it is mentioned in the instructions that one should run test after they have finished the assignment.
- everyone is running the tests and freaking out because of the error.
Remove .DS_Store
please remove .DS_Store
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.