mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Fix typos
This commit is contained in:
parent
3fde8f10a7
commit
c5f333483b
3 changed files with 5 additions and 5 deletions
|
|
@ -287,7 +287,7 @@ class BuildLists {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run all listsOprions methods
|
// Run all listsOptions methods
|
||||||
// and store them to this.lists
|
// and store them to this.lists
|
||||||
async buildLists () {
|
async buildLists () {
|
||||||
console.log( 'Build Lists started', cliOptions )
|
console.log( 'Build Lists started', cliOptions )
|
||||||
|
|
@ -321,7 +321,7 @@ class BuildLists {
|
||||||
getListArrayMemoized = memoize( this.getListArray.bind( this ) )
|
getListArrayMemoized = memoize( this.getListArray.bind( this ) )
|
||||||
|
|
||||||
makeAppsByCategory () {
|
makeAppsByCategory () {
|
||||||
// Intialize empty category lists
|
// Initialize empty category lists
|
||||||
// so empty categories still get defined
|
// so empty categories still get defined
|
||||||
const emptyCategories = Object.fromEntries(
|
const emptyCategories = Object.fromEntries(
|
||||||
Object.keys( categories ).map( categorySlug => [ categorySlug, [] ])
|
Object.keys( categories ).map( categorySlug => [ categorySlug, [] ])
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ test('Sitemap contains no double slashes in paths', (t) => {
|
||||||
test('Sitemap mostly matches production', async (t) => {
|
test('Sitemap mostly matches production', async (t) => {
|
||||||
// console.log('t.context.sitemapUrls', t.context.sitemapUrls)
|
// console.log('t.context.sitemapUrls', t.context.sitemapUrls)
|
||||||
|
|
||||||
const theshold = 20
|
const threshold = 20
|
||||||
|
|
||||||
const urlsNotOnLive = new Set()
|
const urlsNotOnLive = new Set()
|
||||||
// const newLocalUrls = new Set()
|
// const newLocalUrls = new Set()
|
||||||
|
|
@ -154,7 +154,7 @@ test('Sitemap mostly matches production', async (t) => {
|
||||||
t.log( 'Not found locally', liveSitemapUrlStrings )
|
t.log( 'Not found locally', liveSitemapUrlStrings )
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( totalDifferences >= theshold ) {
|
if ( totalDifferences >= threshold ) {
|
||||||
t.fail( message )
|
t.fail( message )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// We keep a seperate vite config file that vite-node, vitest, and Astro can reference
|
// We keep a separate vite config file that vite-node, vitest, and Astro can reference
|
||||||
// so that our environment is as close as possible for all of them.
|
// so that our environment is as close as possible for all of them.
|
||||||
|
|
||||||
// yarn add --dev @esbuild-plugins/node-globals-polyfill
|
// yarn add --dev @esbuild-plugins/node-globals-polyfill
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue