Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Update specs, clear warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Jan 27, 2020
1 parent 7b182bc commit 81df87f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/atoms/expertise/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import _ from 'lang';
const _l = _('en');

const Expertise = ({
level = 'intermediate',
level = 'Intermediate',
}) => (
<span className={ trimWhiteSpace`expertise ${level.toLowerCase()}` }>
{ _l`Expertise${level}` }
Expand Down
2 changes: 1 addition & 1 deletion src/functions/utils/array.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('transformSnippetIndex', () => {
{
node: {
title: 'a',
expertise: 'intermediate',
expertise: 'Intermediate',
tags: {
primary: 'array',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('<RecommendationList />', () => {
title: 'compose',
language: 'JavaScript',
primaryTag: 'function',
expertise: 'intermediate',
expertise: 'Intermediate',
description: '<p>Performs right-to-left function composition.</p>',
url: 'snippets/compose',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ describe('<CssSnippetCard />', () => {
language: { short: 'css', long: 'CSS' },
tags: {
primary: 'function',
all: ['function', 'recursion', 'intermediate'],
all: ['function', 'recursion', 'Intermediate'],
},
expertise: 'intermediate',
expertise: 'Intermediate',
browserSupport: {
supportPercentage: 96.51,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ describe('<SnippetCard />', () => {
language: { short: 'js', long: 'JavaScript' },
tags: {
primary: 'function',
all: ['function', 'recursion', 'intermediate'],
all: ['function', 'recursion', 'Intermediate'],
},
expertise: 'intermediate',
expertise: 'Intermediate',
html: {
description: '<p>Performs right-to-left function composition.</p>',
fullDescription: '<p>Performs right-to-left function composition.</p>\n<p> Use <code class="language-text"> Array.prototype.reduce()</code> to perform right-to-left function composition.\nThe last(rightmost) function can accept one or more arguments; the remaining functions must be unary.</p>',
Expand Down
2 changes: 1 addition & 1 deletion src/organisms/snippetList/snippetList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('<SnippetList />', () => {
title: 'compose',
language: 'JavaScript',
primaryTag: 'function',
expertise: 'intermediate',
expertise: 'Intermediate',
description: '<p>Performs right-to-left function composition.</p>',
url: 'snippets/compose',
},
Expand Down
2 changes: 1 addition & 1 deletion src/templates/listingPage/listingPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('<ListingPage />', () => {
title: 'compose',
language: 'JavaScript',
primaryTag: 'function',
expertise: 'intermediate',
expertise: 'Intermediate',
description: '<p>Performs right-to-left function composition.</p>',
url: 'snippets/compose',
},
Expand Down
2 changes: 1 addition & 1 deletion src/templates/snippetPage/snippetPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('<SnippetPage />', () => {
primary: 'function',
all: ['function', 'recursion'],
},
expertise: 'intermediate',
expertise: 'Intermediate',
html: {
description: '<p>Performs right-to-left function composition.</p>',
fullDescription: '<p>Performs right-to-left function composition.</p>\n<p> Use <code class="language-text"> Array.prototype.reduce()</code> to perform right-to-left function composition.\nThe last(rightmost) function can accept one or more arguments; the remaining functions must be unary.</p>',
Expand Down

0 comments on commit 81df87f

Please sign in to comment.