generated from nhcarrigan/template
feat: run vitest on non-component files (#35)
### Explanation This gives us coverage for all of our non-rendering logic, so we can use Playwright E2E testing for the actual components. ### Issue _No response_ ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [x] I have pinned the dependencies to a specific patch version. ### Style - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [x] My contribution adds new code, and I have added tests to cover it. - [x] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [x] All new and existing tests pass locally with my changes. - [x] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning Major - My pull request introduces a breaking change. Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/35 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
@ -118,7 +118,7 @@ Additionally, I guided and mentored other developers in the design and coding of
|
||||
</li>
|
||||
</ul>
|
||||
</div>`,
|
||||
end: new Date("June 4 2024"),
|
||||
end: new Date("June 5 2024"),
|
||||
link: "https://deepgram.com",
|
||||
logo: "deepgram.jpeg",
|
||||
start: new Date("July 5 2023"),
|
||||
|
@ -20,7 +20,6 @@ export const NavItems = [
|
||||
{ href: "/polycule", text: "Polycule" },
|
||||
{ href: "/activity", text: "Activity" },
|
||||
{ href: "/art", text: "Art" },
|
||||
{ href: "https://nhcarrigan.creator-spring.com/", text: "Merch" },
|
||||
{ href: "/manifesto", text: "Transfemme Manifesto" },
|
||||
].sort((a, b) => {
|
||||
return a.text.localeCompare(b.text);
|
||||
|
@ -42,12 +42,11 @@ import {
|
||||
faComputer,
|
||||
faEnvelope,
|
||||
faGamepad,
|
||||
faGift,
|
||||
faHashtag,
|
||||
faMoneyBill,
|
||||
faUniversity,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { Codeberg } from "../icons/Codeberg";
|
||||
import { Coursera } from "../icons/Coursera";
|
||||
import { Fiverr } from "../icons/Fiverr";
|
||||
import { Gather } from "../icons/Gather";
|
||||
import { Gog } from "../icons/Gog";
|
||||
@ -58,7 +57,9 @@ import { Pixiv } from "../icons/Pixiv";
|
||||
import { Polywork } from "../icons/Polywork";
|
||||
import { Saylor } from "../icons/Saylor";
|
||||
import { TeeSpring } from "../icons/TeeSpring";
|
||||
import { Throne } from "../icons/Throne";
|
||||
import { TreeNation } from "../icons/TreeNation";
|
||||
import { Udemy } from "../icons/Udemy";
|
||||
import { VRoid } from "../icons/VRoid";
|
||||
import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
||||
|
||||
@ -85,7 +86,7 @@ const HireMe: {
|
||||
color: "#003600",
|
||||
icon: faBriefcase,
|
||||
label: "Hire Us!",
|
||||
link: "https://docs.nhcarrigan.com/#/hire",
|
||||
link: "https://docs.nhcarrigan.com/about/hire/",
|
||||
};
|
||||
|
||||
/**
|
||||
@ -117,7 +118,7 @@ const Donate: {
|
||||
color: "#003600",
|
||||
icon: faMoneyBill,
|
||||
label: "Donate 💜",
|
||||
link: "https://docs.nhcarrigan.com/#/donate",
|
||||
link: "https://docs.nhcarrigan.com/about/donate/",
|
||||
};
|
||||
|
||||
/**
|
||||
@ -164,7 +165,7 @@ const Socials: Array<{
|
||||
link: "https://matrix.to/#/#naomi:matrix.org",
|
||||
},
|
||||
{
|
||||
alt: "Hash symbol",
|
||||
alt: "Octothorpe",
|
||||
background: "#000",
|
||||
color: "#FFF",
|
||||
icon: faHashtag,
|
||||
@ -380,18 +381,18 @@ const Socials: Array<{
|
||||
link: "https://docs.nhcarrigan.com/about/contact/#7-email-communication",
|
||||
},
|
||||
{
|
||||
alt: "University Icon",
|
||||
alt: "Coursera Logo",
|
||||
background: "#0056D2",
|
||||
color: "#FFF",
|
||||
icon: faUniversity,
|
||||
icon: Coursera,
|
||||
label: "Coursera",
|
||||
link: "https://www.coursera.org/learner/naomi-lgbt",
|
||||
},
|
||||
{
|
||||
alt: "University Icon",
|
||||
alt: "Udemy Logo",
|
||||
background: "#EC5252",
|
||||
color: "#FFF",
|
||||
icon: faUniversity,
|
||||
icon: Udemy,
|
||||
label: "Udemy",
|
||||
link: "https://www.udemy.com/user/naomi-carrigan/",
|
||||
},
|
||||
@ -412,10 +413,10 @@ const Socials: Array<{
|
||||
link: "https://pcpartpicker.com/user/nhcarrigan/",
|
||||
},
|
||||
{
|
||||
alt: "Gift Icon",
|
||||
alt: "Throne.me Logo",
|
||||
background: "#000",
|
||||
color: "#FFF",
|
||||
icon: faGift,
|
||||
icon: Throne,
|
||||
label: "Throne",
|
||||
link: "https://throne.com/naomilgbt",
|
||||
},
|
||||
|
Reference in New Issue
Block a user