Skip to content

Commit 19be1bc

Browse files
authored
update test suite descriptions
1 parent 8b68262 commit 19be1bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

codegrade_mvp.test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ test('[0] sanity', () => {
1717
expect(true).not.toBe(false)
1818
})
1919

20-
describe('TASK 1 - Header', () => {
20+
describe('TASK 1 - Header, Review how to create a new element, manipulate it (such as adding a class and text to it), and add it to the DOM. ', () => {
2121
let header
2222
beforeEach(() => {
2323
header = Header('foo', 'bar', 'baz')
2424
})
25-
test('[1] returns a header with the correct heading (element, attrs and text)', () => {
25+
test('[1] returns a header with the correct heading (element, attrs and text)!', () => {
2626
expect(header.querySelector('div.header>h1').textContent).toMatch(/foo/i)
2727
})
2828
test('[2] returns a header with the correct date (element, attrs and text)', () => {
@@ -33,7 +33,7 @@ describe('TASK 1 - Header', () => {
3333
})
3434
})
3535

36-
describe('TASK 2 - headerAppender', () => {
36+
describe('TASK 2 - headerAppender, Review DOM selectors and appending to it.', () => {
3737
beforeEach(() => {
3838
headerAppender('body')
3939
})
@@ -44,7 +44,7 @@ describe('TASK 2 - headerAppender', () => {
4444
})
4545
})
4646

47-
describe('TASK 3 - Tabs', () => {
47+
describe('TASK 3 - Tabs, Review how to iterate (loop) over a list of data creating a new component for each item, manipulate it (such as adding a class and text to it), and attaching that component to the DOM.', () => {
4848
let tabs
4949
beforeEach(() => {
5050
tabs = Tabs(['foo', 'bar', 'baz'])
@@ -56,7 +56,7 @@ describe('TASK 3 - Tabs', () => {
5656
})
5757
})
5858

59-
describe('TASK 4 - tabsAppender', () => {
59+
describe('TASK 4 - tabsAppender, Review making HTTP requests and getting data from a server using axios as well as how to use promises and iterate over a list of data received from a server, creating a set of components and adding them to the DOM.', () => {
6060
beforeEach(() => {
6161
tabsAppender('body')
6262
})
@@ -67,7 +67,7 @@ describe('TASK 4 - tabsAppender', () => {
6767
})
6868
})
6969

70-
describe('TASK 5 - Card', () => {
70+
describe('TASK 5 - Card, Review how to iterate (loop) over a list of data creating a new component for each item, manipulate it (such as adding a class and text to it), and attaching that component to the DOM.', () => {
7171
let card
7272
beforeEach(() => {
7373
card = Card({ headline: 'foo', authorName: 'bar', authorPhoto: 'baz' })
@@ -83,7 +83,7 @@ describe('TASK 5 - Card', () => {
8383
})
8484
})
8585

86-
describe('TASK 6 - cardAppender', () => {
86+
describe('TASK 6 - cardAppender, Review making HTTP requests and getting data from a server using axios as well as how to use promises and iterate over a list of data received from a server, creating a set of components and adding them to the DOM.', () => {
8787
beforeEach(() => {
8888
cardAppender('body')
8989
})

0 commit comments

Comments
 (0)