breakingbad's People
breakingbad's Issues
Test Modal
the other piece is to try to focus tests on behavior - for example if your list component always will show characters in alphabetical order even if the provided characters aren’t in alphabetical order then it would be good to test that it is sorting - so you have your mock data, shuffle it randomly in your test, then pass it in and ensure the order is correct even though the incoming data is in a different order
Testing
one comment on the tests- the names of them should describe what you’re testing (the behavior) - that’s why they start with “it” - as in “It will call the close method when the close button is clicked” or “it(‘will show only matching data based on the filter value’)“, etc
Harold Dougherty
Add PhD
Add novels he wrote
Filter on api
pull in list by name via api rather than just filter current list
honora died of heart attack
pagination
Lawrence Dougherty (son of honora)
Worked for Edison company
Last job was as a foreman in emergency repairs
Died of fatal reaction to the new antibiotic, penicillin
Issue with last test on Table.test.js
it('It filters list to four rows with search term pink', ()=>{
//coming back with 64.....
expect(wrapper.find('input').at(0).prop('value')).toEqual("");
wrapper.find('input').at(0).simulate('change', {target: {id: 'inputSearchTerm', value: "pink"}});
expect(wrapper.find('input').at(0).prop('value')).toEqual("pink");
expect(row).toHaveLength(5);
})
Shows the input is changing value but doesn't seem to be changing the rows....wonder if just for testing purposes and I am missing one more step of
Testing on TableHeaderSorter
put through sortWhat to check icon changing to add testing on that component
Add Gordon Saylor's wife Anna Harris
Anna Harris
01/04/1891- 10/19/1932
markato, ks
buried Kearney, NE
Deaths
Quote
find fun way to display quote
Improve Modal Style
Filter on columns
filter, sort, map
Testing Modal
https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/setProps.html
check this out and see if I can pass the prop of modal active
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.