🎨 ✅ add tests & refactor
- add test for getting all tags - add test for transforming resources - output.json -> mockOutput.json
This commit is contained in:
committed by
Unknown
parent
330612ea4c
commit
8273955316
86
test/mockOutput.json
Normal file
86
test/mockOutput.json
Normal file
@@ -0,0 +1,86 @@
|
||||
[
|
||||
{
|
||||
"title": "CSS",
|
||||
"slug": "/css",
|
||||
"resources": [
|
||||
{
|
||||
"title": "CSS Grid Generator",
|
||||
"desc": "Visually create your css grid and export the code.",
|
||||
"url": "https://cssgrid-generator.netlify.com/",
|
||||
"tags": [
|
||||
"generator",
|
||||
"grid",
|
||||
"layout",
|
||||
"visual tool"
|
||||
],
|
||||
"cleanTitle": "cssgridgenerator",
|
||||
"path": "/css?card=cssgridgenerator"
|
||||
},
|
||||
{
|
||||
"title": "Keyframes Editor",
|
||||
"desc": "An insanely simple way to create CSS animations",
|
||||
"url": "https://keyframes.app/editor/",
|
||||
"tags": [
|
||||
"generator",
|
||||
"animation",
|
||||
"visual tool"
|
||||
],
|
||||
"cleanTitle": "keyframeseditor",
|
||||
"path": "/css?card=keyframeseditor"
|
||||
},
|
||||
{
|
||||
"title": "Flexbox Froggy",
|
||||
"desc": "A game to learn Flexbox",
|
||||
"url": "https://flexboxfroggy.com",
|
||||
"tags": [
|
||||
"educational",
|
||||
"beginner"
|
||||
],
|
||||
"cleanTitle": "flexboxfroggy",
|
||||
"path": "/css?card=flexboxfroggy"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Design",
|
||||
"slug": "/design",
|
||||
"resources": [
|
||||
{
|
||||
"title": "UX/UI Designer Roadmap 2017",
|
||||
"desc": "Roadmap to becoming a UI/UX Designer in 2017",
|
||||
"url": "https://github.com/togiberlin/ui-ux-designer-roadmap",
|
||||
"tags": [
|
||||
"career",
|
||||
"ui",
|
||||
"ux"
|
||||
],
|
||||
"cleanTitle": "ux/uidesignerroadmap2017",
|
||||
"path": "/design?card=ux/uidesignerroadmap2017"
|
||||
},
|
||||
{
|
||||
"title": "Undraw",
|
||||
"desc": "Free vector illustrations for your website.",
|
||||
"url": "https://undraw.co",
|
||||
"tags": [
|
||||
"illustration",
|
||||
"svg",
|
||||
"ui"
|
||||
],
|
||||
"cleanTitle": "undraw",
|
||||
"path": "/design?card=undraw"
|
||||
},
|
||||
{
|
||||
"title": "Practical UI tips",
|
||||
"desc": "7 Tips to boost your UI design.",
|
||||
"url": "https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c736799886",
|
||||
"tags": [
|
||||
"ui",
|
||||
"tips",
|
||||
"tricks"
|
||||
],
|
||||
"cleanTitle": "practicaluitips",
|
||||
"path": "/design?card=practicaluitips"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user