From 7c1aa62d2b16578d316c001a49406b9732a815fa Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Fri, 17 May 2024 09:17:29 -0400 Subject: [PATCH] :bug: fix html --- components/Education/institution.js | 2 +- test/__snapshots__/index.test.js.snap | 22 +++++++++++----------- test/index.test.js | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/components/Education/institution.js b/components/Education/institution.js index 891e5f6..bf78c78 100644 --- a/components/Education/institution.js +++ b/components/Education/institution.js @@ -33,7 +33,7 @@ export default function Institution(item, itemprop) { ${courses.map( course => html`
  • -

    ${markdown(course)}

    +

    ${course}

  • `, diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index 69f2710..ad87621 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -25,7 +25,7 @@ exports[`renders a resume 1`] = `

    Programmer

    Richard Hendriks's picture -
    Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!
    +

    Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!

    @@ -91,10 +91,10 @@ exports[`renders a resume 1`] = `

    Palo Alto, CA

    -
    Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.
    +

    Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.

      -
    • Build an algorithm for artist to detect if their music was violating copy right infringement laws
    • Successfully won Techcrunch Disrupt
    • Optimized an algorithm that holds the current world record for Weisman Scores
    • +
    • Build an algorithm for artist to detect if their music was violating copy right infringement laws

    • Successfully won Techcrunch Disrupt

    • Optimized an algorithm that holds the current world record for Weisman Scores

    @@ -110,10 +110,10 @@ exports[`renders a resume 1`] = `
    Teacher

    -
    Global movement of free coding clubs for young people.
    +

    Global movement of free coding clubs for young people.

      -
    • Awarded 'Teacher of the Month'
    • +
    • Awarded 'Teacher of the Month'

    @@ -126,7 +126,7 @@ exports[`renders a resume 1`] = `

    Information Technology
    -
    Bachelor
    +

    Bachelor

      @@ -154,7 +154,7 @@ exports[`renders a resume 1`] = `
      Awarded by Techcrunch
      -
      There is no spoon.
      +

      There is no spoon.

    @@ -170,7 +170,7 @@ exports[`renders a resume 1`] = ` Published by Hooli
    -
    Innovative middle-out compression algorithm that changes the way we store data.
    +

    Innovative middle-out compression algorithm that changes the way we store data.

    @@ -218,7 +218,7 @@ exports[`renders a resume 1`] = `
    -
    It is my pleasure to recommend Richard, his performance working as a consultant for Main St. Company proved that he will be a valuable addition to any company.
    +

    It is my pleasure to recommend Richard, his performance working as a consultant for Main St. Company proved that he will be a valuable addition to any company.

    application

    -
    A mapping engine that misguides you
    +

    A mapping engine that misguides you

    • GoogleMaps
    • Chrome Extension
    • Javascript
    • @@ -251,7 +251,7 @@ exports[`renders a resume 1`] = `

        -
      • Won award at AIHacks 2016
      • Built by all women team of newbie programmers
      • Using modern technologies such as GoogleMaps, Chrome Extension and Javascript
      • +
      • Won award at AIHacks 2016

      • Built by all women team of newbie programmers

      • Using modern technologies such as GoogleMaps, Chrome Extension and Javascript

      diff --git a/test/index.test.js b/test/index.test.js index 515729b..b9d5999 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -38,6 +38,6 @@ it('renders valid HTML', async () => { const { results: [{ messages } = {}], } = await htmlvalidate.validateString(render(resume)) - + console.log(messages) expect(messages).toBeUndefined() })