diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index eb2d1c94130..2a37c94e000 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -140,6 +140,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/README.md b/README.md index 944cd3c7c69..0bc9626a9e5 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/config/templates/design.test.mjs.mustache b/config/templates/design.test.mjs.mustache index c4dbddb3286..b512656b48f 100644 --- a/config/templates/design.test.mjs.mustache +++ b/config/templates/design.test.mjs.mustache @@ -4,7 +4,7 @@ import { {{Name}} } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig({{Name}}) @@ -13,4 +13,4 @@ testPatternConfig({{Name}}) testPatternDrafting({{Name}}, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling({{Name}}, false) +testPatternSampling({{Name}}, false) diff --git a/config/templates/design/tests/shared.test.mjs b/config/templates/design/tests/shared.test.mjs index 9d4dd0dccee..91b6a8c9884 100644 --- a/config/templates/design/tests/shared.test.mjs +++ b/config/templates/design/tests/shared.test.mjs @@ -8,34 +8,15 @@ import Pattern from './dist/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/patterns/config.mjs' import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs' -//import { testPatternSampling } from '../../../tests/patterns/sampling.mjs' +import { testPatternSampling } from '../../../tests/patterns/sampling.mjs' const expect = chai.expect - // Test config -testPatternConfig( - "{{name}}", - new Pattern(), - expect, - models, - patterns -) +testPatternConfig('{{name}}', new Pattern(), expect, models, patterns) // Test drafting -testPatternDrafting( - "{{name}}", - Pattern, - expect, - models, - patterns -) +testPatternDrafting('{{name}}', Pattern, expect, models, patterns) // Test sampling -//testPatternSampling( -// "{{name}}", -// Pattern, -// expect, -// models, -// patterns -//) +testPatternSampling('{{name}}', Pattern, expect, models, patterns) diff --git a/designs/aaron/README.md b/designs/aaron/README.md index 71e0f70a952..dc07b6cd9c4 100644 --- a/designs/aaron/README.md +++ b/designs/aaron/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/aaron/tests/shared.test.mjs b/designs/aaron/tests/shared.test.mjs index 998f8f124d3..fb5a5b54881 100644 --- a/designs/aaron/tests/shared.test.mjs +++ b/designs/aaron/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Aaron } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Aaron) @@ -13,4 +13,4 @@ testPatternConfig(Aaron) testPatternDrafting(Aaron, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Aaron, false) +testPatternSampling(Aaron, false) diff --git a/designs/albert/README.md b/designs/albert/README.md index b65411ad36a..02a715f3d6e 100644 --- a/designs/albert/README.md +++ b/designs/albert/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/albert/tests/shared.test.mjs b/designs/albert/tests/shared.test.mjs index d9e14179213..bb9b9a3dc74 100644 --- a/designs/albert/tests/shared.test.mjs +++ b/designs/albert/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Albert } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Albert) @@ -13,4 +13,4 @@ testPatternConfig(Albert) testPatternDrafting(Albert, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Albert, false) +testPatternSampling(Albert, false) diff --git a/designs/bee/README.md b/designs/bee/README.md index a3a26ecdba8..643fa170cf4 100644 --- a/designs/bee/README.md +++ b/designs/bee/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/bee/tests/shared.test.mjs b/designs/bee/tests/shared.test.mjs index e10dd09cd34..ac47db8670b 100644 --- a/designs/bee/tests/shared.test.mjs +++ b/designs/bee/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Bee } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Bee) @@ -13,4 +13,4 @@ testPatternConfig(Bee) testPatternDrafting(Bee, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Bee, false) +testPatternSampling(Bee, false) diff --git a/designs/bella/README.md b/designs/bella/README.md index bf24870bc2b..c73a06deee7 100644 --- a/designs/bella/README.md +++ b/designs/bella/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/bella/tests/shared.test.mjs b/designs/bella/tests/shared.test.mjs index 2e5d54a1d44..baffc2c367f 100644 --- a/designs/bella/tests/shared.test.mjs +++ b/designs/bella/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Bella } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Bella) @@ -13,4 +13,4 @@ testPatternConfig(Bella) testPatternDrafting(Bella, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Bella, false) +testPatternSampling(Bella, false) diff --git a/designs/benjamin/README.md b/designs/benjamin/README.md index 145af139a95..8a7165b2ec5 100644 --- a/designs/benjamin/README.md +++ b/designs/benjamin/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/benjamin/tests/shared.test.mjs b/designs/benjamin/tests/shared.test.mjs index c100da6e8a7..15385d95dc8 100644 --- a/designs/benjamin/tests/shared.test.mjs +++ b/designs/benjamin/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Benjamin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Benjamin) @@ -13,4 +13,4 @@ testPatternConfig(Benjamin) testPatternDrafting(Benjamin, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Benjamin, false) +testPatternSampling(Benjamin, false) diff --git a/designs/bent/README.md b/designs/bent/README.md index 71ec1907dab..0a48960086a 100644 --- a/designs/bent/README.md +++ b/designs/bent/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/bent/tests/shared.test.mjs b/designs/bent/tests/shared.test.mjs index 773d2a33732..4eb37b87695 100644 --- a/designs/bent/tests/shared.test.mjs +++ b/designs/bent/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Bent } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Bent) @@ -13,4 +13,4 @@ testPatternConfig(Bent) testPatternDrafting(Bent, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Bent, false) +testPatternSampling(Bent, false) diff --git a/designs/bob/README.md b/designs/bob/README.md index 25284a03a43..439b4b8edab 100644 --- a/designs/bob/README.md +++ b/designs/bob/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/bob/tests/shared.test.mjs b/designs/bob/tests/shared.test.mjs index ed9390cabe7..3c001981858 100644 --- a/designs/bob/tests/shared.test.mjs +++ b/designs/bob/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Bob } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Bob) @@ -13,4 +13,4 @@ testPatternConfig(Bob) testPatternDrafting(Bob, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Bob, false) +testPatternSampling(Bob, false) diff --git a/designs/breanna/README.md b/designs/breanna/README.md index a7ac6a4e225..b69739b71a9 100644 --- a/designs/breanna/README.md +++ b/designs/breanna/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/breanna/tests/shared.test.mjs b/designs/breanna/tests/shared.test.mjs index 1705ef26179..39d1dba8929 100644 --- a/designs/breanna/tests/shared.test.mjs +++ b/designs/breanna/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Breanna } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Breanna) @@ -13,4 +13,4 @@ testPatternConfig(Breanna) testPatternDrafting(Breanna, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Breanna, false) +testPatternSampling(Breanna, false) diff --git a/designs/brian/README.md b/designs/brian/README.md index 914eee0d731..db226500516 100644 --- a/designs/brian/README.md +++ b/designs/brian/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/brian/tests/shared.test.mjs b/designs/brian/tests/shared.test.mjs index 411dfd26ee0..45d7889c501 100644 --- a/designs/brian/tests/shared.test.mjs +++ b/designs/brian/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Brian } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Brian) @@ -13,4 +13,4 @@ testPatternConfig(Brian) testPatternDrafting(Brian, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Brian, false) +testPatternSampling(Brian, false) diff --git a/designs/bruce/README.md b/designs/bruce/README.md index 91cf1273f9c..531b7c642c0 100644 --- a/designs/bruce/README.md +++ b/designs/bruce/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/bruce/tests/shared.test.mjs b/designs/bruce/tests/shared.test.mjs index 2f74e137fad..b708e968f65 100644 --- a/designs/bruce/tests/shared.test.mjs +++ b/designs/bruce/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Bruce } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Bruce) @@ -13,4 +13,4 @@ testPatternConfig(Bruce) testPatternDrafting(Bruce, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Bruce, false) +testPatternSampling(Bruce, false) diff --git a/designs/carlita/README.md b/designs/carlita/README.md index b70da1756d3..0d7a998a60b 100644 --- a/designs/carlita/README.md +++ b/designs/carlita/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/carlita/tests/shared.test.mjs b/designs/carlita/tests/shared.test.mjs index 5b8435628a3..6e43510bd47 100644 --- a/designs/carlita/tests/shared.test.mjs +++ b/designs/carlita/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Carlita } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Carlita) @@ -13,4 +13,4 @@ testPatternConfig(Carlita) testPatternDrafting(Carlita, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Carlita, false) +testPatternSampling(Carlita, false) diff --git a/designs/carlton/README.md b/designs/carlton/README.md index 7175455f6f9..5b562bfb058 100644 --- a/designs/carlton/README.md +++ b/designs/carlton/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/carlton/tests/shared.test.mjs b/designs/carlton/tests/shared.test.mjs index 5b021ea3ee2..a741d2d7b12 100644 --- a/designs/carlton/tests/shared.test.mjs +++ b/designs/carlton/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Carlton } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Carlton) @@ -13,4 +13,4 @@ testPatternConfig(Carlton) testPatternDrafting(Carlton, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Carlton, false) +testPatternSampling(Carlton, false) diff --git a/designs/cathrin/README.md b/designs/cathrin/README.md index 698864e495c..389a384cfb0 100644 --- a/designs/cathrin/README.md +++ b/designs/cathrin/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/cathrin/tests/shared.test.mjs b/designs/cathrin/tests/shared.test.mjs index 372c79c575d..f3fd0224e6d 100644 --- a/designs/cathrin/tests/shared.test.mjs +++ b/designs/cathrin/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Cathrin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Cathrin) @@ -13,4 +13,4 @@ testPatternConfig(Cathrin) testPatternDrafting(Cathrin, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Cathrin, false) +testPatternSampling(Cathrin, false) diff --git a/designs/charlie/README.md b/designs/charlie/README.md index c24f69b5a77..0ef60da6f6a 100644 --- a/designs/charlie/README.md +++ b/designs/charlie/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/charlie/tests/shared.test.mjs b/designs/charlie/tests/shared.test.mjs index abf213a6abb..f33071f8dd5 100644 --- a/designs/charlie/tests/shared.test.mjs +++ b/designs/charlie/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Charlie } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Charlie) @@ -13,4 +13,4 @@ testPatternConfig(Charlie) testPatternDrafting(Charlie, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Charlie, false) +testPatternSampling(Charlie, false) diff --git a/designs/cornelius/README.md b/designs/cornelius/README.md index c1aa06ea1db..fff8699d6f6 100644 --- a/designs/cornelius/README.md +++ b/designs/cornelius/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/cornelius/tests/shared.test.mjs b/designs/cornelius/tests/shared.test.mjs index 483b2d1111f..79d29207e52 100644 --- a/designs/cornelius/tests/shared.test.mjs +++ b/designs/cornelius/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Cornelius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Cornelius) @@ -13,4 +13,4 @@ testPatternConfig(Cornelius) testPatternDrafting(Cornelius, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Cornelius, false) +testPatternSampling(Cornelius, false) diff --git a/designs/diana/README.md b/designs/diana/README.md index 69fd2084095..7d2302fcf96 100644 --- a/designs/diana/README.md +++ b/designs/diana/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/diana/tests/shared.test.mjs b/designs/diana/tests/shared.test.mjs index bd81fcc3a7f..be0d598d5ea 100644 --- a/designs/diana/tests/shared.test.mjs +++ b/designs/diana/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Diana } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Diana) @@ -13,4 +13,4 @@ testPatternConfig(Diana) testPatternDrafting(Diana, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Diana, false) +testPatternSampling(Diana, false) diff --git a/designs/florence/README.md b/designs/florence/README.md index ca1bf9cf920..34f7df4b5f7 100644 --- a/designs/florence/README.md +++ b/designs/florence/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/florence/tests/shared.test.mjs b/designs/florence/tests/shared.test.mjs index f955c7ff706..c64c6d7241d 100644 --- a/designs/florence/tests/shared.test.mjs +++ b/designs/florence/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Florence } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Florence) @@ -13,4 +13,4 @@ testPatternConfig(Florence) testPatternDrafting(Florence, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Florence, false) +testPatternSampling(Florence, false) diff --git a/designs/florent/README.md b/designs/florent/README.md index cabc1a33d4c..8211f24baa4 100644 --- a/designs/florent/README.md +++ b/designs/florent/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/florent/tests/shared.test.mjs b/designs/florent/tests/shared.test.mjs index 4d95c7ae8a3..4f37b6b1d02 100644 --- a/designs/florent/tests/shared.test.mjs +++ b/designs/florent/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Florent } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Florent) @@ -13,4 +13,4 @@ testPatternConfig(Florent) testPatternDrafting(Florent, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Florent, false) +testPatternSampling(Florent, false) diff --git a/designs/hi/README.md b/designs/hi/README.md index 1d68a113918..717c20ac1f2 100644 --- a/designs/hi/README.md +++ b/designs/hi/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/hi/tests/shared.test.mjs b/designs/hi/tests/shared.test.mjs index 8fde1c62240..e38c46caf53 100644 --- a/designs/hi/tests/shared.test.mjs +++ b/designs/hi/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Hi } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Hi) @@ -13,4 +13,4 @@ testPatternConfig(Hi) testPatternDrafting(Hi, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Hi, false) +testPatternSampling(Hi, false) diff --git a/designs/holmes/README.md b/designs/holmes/README.md index f779979ff0b..84344683561 100644 --- a/designs/holmes/README.md +++ b/designs/holmes/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/holmes/tests/shared.test.mjs b/designs/holmes/tests/shared.test.mjs index 1d87dd6fcff..d11052169c4 100644 --- a/designs/holmes/tests/shared.test.mjs +++ b/designs/holmes/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Holmes } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Holmes) @@ -13,4 +13,4 @@ testPatternConfig(Holmes) testPatternDrafting(Holmes, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Holmes, false) +testPatternSampling(Holmes, false) diff --git a/designs/hortensia/README.md b/designs/hortensia/README.md index cd3d49127ec..2dc06a5c0ec 100644 --- a/designs/hortensia/README.md +++ b/designs/hortensia/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/hortensia/tests/shared.test.mjs b/designs/hortensia/tests/shared.test.mjs index f5719229006..63ee2f60713 100644 --- a/designs/hortensia/tests/shared.test.mjs +++ b/designs/hortensia/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Hortensia } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Hortensia) @@ -13,4 +13,4 @@ testPatternConfig(Hortensia) testPatternDrafting(Hortensia, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Hortensia, false) +testPatternSampling(Hortensia, false) diff --git a/designs/huey/README.md b/designs/huey/README.md index 0ff5c938af9..ed0dcace755 100644 --- a/designs/huey/README.md +++ b/designs/huey/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/huey/tests/shared.test.mjs b/designs/huey/tests/shared.test.mjs index 25224d7bf4e..0b2db6c05c9 100644 --- a/designs/huey/tests/shared.test.mjs +++ b/designs/huey/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Huey } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Huey) @@ -13,4 +13,4 @@ testPatternConfig(Huey) testPatternDrafting(Huey, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Huey, false) +testPatternSampling(Huey, false) diff --git a/designs/hugo/README.md b/designs/hugo/README.md index ec632203439..d1ec4d2e1a2 100644 --- a/designs/hugo/README.md +++ b/designs/hugo/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/hugo/tests/shared.test.mjs b/designs/hugo/tests/shared.test.mjs index c941094d73a..a0b4dd6de3c 100644 --- a/designs/hugo/tests/shared.test.mjs +++ b/designs/hugo/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Hugo } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Hugo) @@ -13,4 +13,4 @@ testPatternConfig(Hugo) testPatternDrafting(Hugo, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Hugo, false) +testPatternSampling(Hugo, false) diff --git a/designs/jaeger/README.md b/designs/jaeger/README.md index 53607e5de01..6695fa75b7a 100644 --- a/designs/jaeger/README.md +++ b/designs/jaeger/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/jaeger/tests/shared.test.mjs b/designs/jaeger/tests/shared.test.mjs index ac45cf219b7..1b2f47a0dd9 100644 --- a/designs/jaeger/tests/shared.test.mjs +++ b/designs/jaeger/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Jaeger } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Jaeger) @@ -13,4 +13,4 @@ testPatternConfig(Jaeger) testPatternDrafting(Jaeger, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Jaeger, false) +testPatternSampling(Jaeger, false) diff --git a/designs/legend/README.md b/designs/legend/README.md index 967a9702589..bd78bb94a84 100644 --- a/designs/legend/README.md +++ b/designs/legend/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/legend/tests/shared.test.mjs b/designs/legend/tests/shared.test.mjs index 7a03972d523..19d28670cd7 100644 --- a/designs/legend/tests/shared.test.mjs +++ b/designs/legend/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Legend } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Legend) @@ -13,4 +13,4 @@ testPatternConfig(Legend) testPatternDrafting(Legend, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Legend, false) +testPatternSampling(Legend, false) diff --git a/designs/lucy/README.md b/designs/lucy/README.md index 6f85f1ee0b0..df298d6e34c 100644 --- a/designs/lucy/README.md +++ b/designs/lucy/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/lucy/tests/shared.test.mjs b/designs/lucy/tests/shared.test.mjs index c4ff50b3137..3bc23c85fe7 100644 --- a/designs/lucy/tests/shared.test.mjs +++ b/designs/lucy/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Lucy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Lucy) @@ -13,4 +13,4 @@ testPatternConfig(Lucy) testPatternDrafting(Lucy, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Lucy, false) +testPatternSampling(Lucy, false) diff --git a/designs/lunetius/README.md b/designs/lunetius/README.md index 74cda73753b..21d6b604a7c 100644 --- a/designs/lunetius/README.md +++ b/designs/lunetius/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/lunetius/tests/shared.test.mjs b/designs/lunetius/tests/shared.test.mjs index e61a1200df5..6fb9f7ce3fe 100644 --- a/designs/lunetius/tests/shared.test.mjs +++ b/designs/lunetius/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Lunetius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Lunetius) @@ -13,4 +13,4 @@ testPatternConfig(Lunetius) testPatternDrafting(Lunetius, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Lunetius, false) +testPatternSampling(Lunetius, false) diff --git a/designs/noble/README.md b/designs/noble/README.md index 3a0aa8bd5f6..4380d68977a 100644 --- a/designs/noble/README.md +++ b/designs/noble/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/noble/tests/shared.test.mjs b/designs/noble/tests/shared.test.mjs index 3cacb3a1352..6d3549ef24e 100644 --- a/designs/noble/tests/shared.test.mjs +++ b/designs/noble/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Noble } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Noble) @@ -13,4 +13,4 @@ testPatternConfig(Noble) testPatternDrafting(Noble, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Noble, false) +testPatternSampling(Noble, false) diff --git a/designs/octoplushy/README.md b/designs/octoplushy/README.md index 5ad61fbdc1e..97e12e6c691 100644 --- a/designs/octoplushy/README.md +++ b/designs/octoplushy/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/octoplushy/tests/shared.test.mjs b/designs/octoplushy/tests/shared.test.mjs index 4d8325bd423..86ebb66d586 100644 --- a/designs/octoplushy/tests/shared.test.mjs +++ b/designs/octoplushy/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Octoplushy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Octoplushy) @@ -13,4 +13,4 @@ testPatternConfig(Octoplushy) testPatternDrafting(Octoplushy, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Octoplushy, false) +testPatternSampling(Octoplushy, false) diff --git a/designs/paco/README.md b/designs/paco/README.md index c17d8b6b57d..db98b429799 100644 --- a/designs/paco/README.md +++ b/designs/paco/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/paco/tests/shared.test.mjs b/designs/paco/tests/shared.test.mjs index 7908ff68dd5..44fe4b62f51 100644 --- a/designs/paco/tests/shared.test.mjs +++ b/designs/paco/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Paco } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Paco) @@ -13,4 +13,4 @@ testPatternConfig(Paco) testPatternDrafting(Paco, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Paco, false) +testPatternSampling(Paco, false) diff --git a/designs/penelope/README.md b/designs/penelope/README.md index 7001034e18b..45e71b28b41 100644 --- a/designs/penelope/README.md +++ b/designs/penelope/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/penelope/tests/shared.test.mjs b/designs/penelope/tests/shared.test.mjs index 39f56bc4504..61e1e08537f 100644 --- a/designs/penelope/tests/shared.test.mjs +++ b/designs/penelope/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Penelope } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Penelope) @@ -13,4 +13,4 @@ testPatternConfig(Penelope) testPatternDrafting(Penelope, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Penelope, false) +testPatternSampling(Penelope, false) diff --git a/designs/plugintest/README.md b/designs/plugintest/README.md index 71800458ce9..89dd0ce25eb 100644 --- a/designs/plugintest/README.md +++ b/designs/plugintest/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/plugintest/tests/shared.test.mjs b/designs/plugintest/tests/shared.test.mjs index 1e78b45fef5..8c213872ff9 100644 --- a/designs/plugintest/tests/shared.test.mjs +++ b/designs/plugintest/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Plugintest } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Plugintest) @@ -13,4 +13,4 @@ testPatternConfig(Plugintest) testPatternDrafting(Plugintest, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Plugintest, false) +testPatternSampling(Plugintest, false) diff --git a/designs/rendertest/README.md b/designs/rendertest/README.md index 575a2d214b2..9367a900828 100644 --- a/designs/rendertest/README.md +++ b/designs/rendertest/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/rendertest/tests/shared.test.mjs b/designs/rendertest/tests/shared.test.mjs index a04bcc15254..2bbe85c2c40 100644 --- a/designs/rendertest/tests/shared.test.mjs +++ b/designs/rendertest/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Rendertest } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Rendertest) @@ -13,4 +13,4 @@ testPatternConfig(Rendertest) testPatternDrafting(Rendertest, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Rendertest, false) +testPatternSampling(Rendertest, false) diff --git a/designs/sandy/README.md b/designs/sandy/README.md index 6abbe6f664a..1e522071329 100644 --- a/designs/sandy/README.md +++ b/designs/sandy/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/sandy/tests/shared.test.mjs b/designs/sandy/tests/shared.test.mjs index 8f98f87ab76..314791cc3cc 100644 --- a/designs/sandy/tests/shared.test.mjs +++ b/designs/sandy/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Sandy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Sandy) @@ -13,4 +13,4 @@ testPatternConfig(Sandy) testPatternDrafting(Sandy, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Sandy, false) +testPatternSampling(Sandy, false) diff --git a/designs/shin/README.md b/designs/shin/README.md index 7aa1c105b15..e70f70cc7d9 100644 --- a/designs/shin/README.md +++ b/designs/shin/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/shin/tests/shared.test.mjs b/designs/shin/tests/shared.test.mjs index 52c191bb923..7c30c8a4b41 100644 --- a/designs/shin/tests/shared.test.mjs +++ b/designs/shin/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Shin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Shin) @@ -13,4 +13,4 @@ testPatternConfig(Shin) testPatternDrafting(Shin, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Shin, false) +testPatternSampling(Shin, false) diff --git a/designs/simone/README.md b/designs/simone/README.md index 991f313d474..0df4fc1b2b6 100644 --- a/designs/simone/README.md +++ b/designs/simone/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/sven/README.md b/designs/sven/README.md index 7aa2e803c3f..38fdda44312 100644 --- a/designs/sven/README.md +++ b/designs/sven/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/sven/tests/shared.test.mjs b/designs/sven/tests/shared.test.mjs index cef4b0e0e74..c2c82fe36ec 100644 --- a/designs/sven/tests/shared.test.mjs +++ b/designs/sven/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Sven } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Sven) @@ -13,4 +13,4 @@ testPatternConfig(Sven) testPatternDrafting(Sven, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Sven, false) +testPatternSampling(Sven, false) diff --git a/designs/tamiko/README.md b/designs/tamiko/README.md index 1f92e793aa7..df436828e3f 100644 --- a/designs/tamiko/README.md +++ b/designs/tamiko/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/tamiko/tests/shared.test.mjs b/designs/tamiko/tests/shared.test.mjs index 71a292e1e5e..fa498547d85 100644 --- a/designs/tamiko/tests/shared.test.mjs +++ b/designs/tamiko/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Tamiko } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Tamiko) @@ -13,4 +13,4 @@ testPatternConfig(Tamiko) testPatternDrafting(Tamiko, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Tamiko, false) +testPatternSampling(Tamiko, false) diff --git a/designs/teagan/README.md b/designs/teagan/README.md index d75e088aa56..1445c98ad2c 100644 --- a/designs/teagan/README.md +++ b/designs/teagan/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/teagan/tests/shared.test.mjs b/designs/teagan/tests/shared.test.mjs index 3909099fb73..ec1b6498117 100644 --- a/designs/teagan/tests/shared.test.mjs +++ b/designs/teagan/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Teagan } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Teagan) @@ -13,4 +13,4 @@ testPatternConfig(Teagan) testPatternDrafting(Teagan, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Teagan, false) +testPatternSampling(Teagan, false) diff --git a/designs/tiberius/README.md b/designs/tiberius/README.md index cae7f98e4e4..508bf47cc57 100644 --- a/designs/tiberius/README.md +++ b/designs/tiberius/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/tiberius/tests/shared.test.mjs b/designs/tiberius/tests/shared.test.mjs index 79174b02351..5e0b794bc2c 100644 --- a/designs/tiberius/tests/shared.test.mjs +++ b/designs/tiberius/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Tiberius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Tiberius) @@ -13,4 +13,4 @@ testPatternConfig(Tiberius) testPatternDrafting(Tiberius, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Tiberius, false) +testPatternSampling(Tiberius, false) diff --git a/designs/trayvon/README.md b/designs/trayvon/README.md index 6d1fca01c88..af76f5698a1 100644 --- a/designs/trayvon/README.md +++ b/designs/trayvon/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/trayvon/tests/shared.test.mjs b/designs/trayvon/tests/shared.test.mjs index 237008fbbce..1876b7ddeed 100644 --- a/designs/trayvon/tests/shared.test.mjs +++ b/designs/trayvon/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Trayvon } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Trayvon) @@ -13,4 +13,4 @@ testPatternConfig(Trayvon) testPatternDrafting(Trayvon, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Trayvon, false) +testPatternSampling(Trayvon, false) diff --git a/designs/tutorial/README.md b/designs/tutorial/README.md index 65b55ee10e3..341a39adf6b 100644 --- a/designs/tutorial/README.md +++ b/designs/tutorial/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/tutorial/tests/shared.test.mjs b/designs/tutorial/tests/shared.test.mjs index 1dae867ccde..9bb20c88b8a 100644 --- a/designs/tutorial/tests/shared.test.mjs +++ b/designs/tutorial/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Tutorial } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Tutorial) @@ -13,4 +13,4 @@ testPatternConfig(Tutorial) testPatternDrafting(Tutorial, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Tutorial, false) +testPatternSampling(Tutorial, false) diff --git a/designs/unice/README.md b/designs/unice/README.md index 20d22878833..1d57a87b629 100644 --- a/designs/unice/README.md +++ b/designs/unice/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/unice/tests/shared.test.mjs b/designs/unice/tests/shared.test.mjs index 8ddc94ac54a..21ec4354088 100644 --- a/designs/unice/tests/shared.test.mjs +++ b/designs/unice/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Unice } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Unice) @@ -13,4 +13,4 @@ testPatternConfig(Unice) testPatternDrafting(Unice, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Unice, false) +testPatternSampling(Unice, false) diff --git a/designs/ursula/README.md b/designs/ursula/README.md index 1c865ecc8ba..5523a946cb1 100644 --- a/designs/ursula/README.md +++ b/designs/ursula/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/ursula/tests/shared.test.mjs b/designs/ursula/tests/shared.test.mjs index 851b2d126e4..16b4068bb6d 100644 --- a/designs/ursula/tests/shared.test.mjs +++ b/designs/ursula/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Ursula } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Ursula) @@ -13,4 +13,4 @@ testPatternConfig(Ursula) testPatternDrafting(Ursula, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Ursula, false) +testPatternSampling(Ursula, false) diff --git a/designs/wahid/README.md b/designs/wahid/README.md index ba0aa050fb6..efd96cdc845 100644 --- a/designs/wahid/README.md +++ b/designs/wahid/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/wahid/tests/shared.test.mjs b/designs/wahid/tests/shared.test.mjs index 8c826f0ab54..c7c6452fea5 100644 --- a/designs/wahid/tests/shared.test.mjs +++ b/designs/wahid/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Wahid } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Wahid) @@ -13,4 +13,4 @@ testPatternConfig(Wahid) testPatternDrafting(Wahid, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Wahid, false) +testPatternSampling(Wahid, false) diff --git a/designs/walburga/README.md b/designs/walburga/README.md index 282f1e9135f..2b46f828d9f 100644 --- a/designs/walburga/README.md +++ b/designs/walburga/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/walburga/tests/shared.test.mjs b/designs/walburga/tests/shared.test.mjs index fada4a67504..172fa1cb056 100644 --- a/designs/walburga/tests/shared.test.mjs +++ b/designs/walburga/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Walburga } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Walburga) @@ -13,4 +13,4 @@ testPatternConfig(Walburga) testPatternDrafting(Walburga, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Walburga, false) +testPatternSampling(Walburga, false) diff --git a/designs/waralee/README.md b/designs/waralee/README.md index 40e1bb5a999..e0acb2c9487 100644 --- a/designs/waralee/README.md +++ b/designs/waralee/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/waralee/tests/shared.test.mjs b/designs/waralee/tests/shared.test.mjs index 41a1754c79c..d83ded6e83b 100644 --- a/designs/waralee/tests/shared.test.mjs +++ b/designs/waralee/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Waralee } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Waralee) @@ -13,4 +13,4 @@ testPatternConfig(Waralee) testPatternDrafting(Waralee, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Waralee, false) +testPatternSampling(Waralee, false) diff --git a/designs/yuri/README.md b/designs/yuri/README.md index cae134cdc0c..a7cedf2bab7 100644 --- a/designs/yuri/README.md +++ b/designs/yuri/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/designs/yuri/tests/shared.test.mjs b/designs/yuri/tests/shared.test.mjs index a0e2c5039b8..ba416f8ce50 100644 --- a/designs/yuri/tests/shared.test.mjs +++ b/designs/yuri/tests/shared.test.mjs @@ -4,7 +4,7 @@ import { Yuri } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' import { testPatternDrafting } from '../../../tests/designs/drafting.mjs' -//import { testPatternSampling } from '../../../tests/designs/sampling.mjs' +import { testPatternSampling } from '../../../tests/designs/sampling.mjs' // Test config testPatternConfig(Yuri) @@ -13,4 +13,4 @@ testPatternConfig(Yuri) testPatternDrafting(Yuri, false) // Test sampling - Change the second parameter to `true` to log errors -//testPatternSampling(Yuri, false) +testPatternSampling(Yuri, false) diff --git a/packages/core/README.md b/packages/core/README.md index 6ae855f8488..724d49b0978 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/i18n/README.md b/packages/i18n/README.md index be519d7a158..3b7f4b135da 100644 --- a/packages/i18n/README.md +++ b/packages/i18n/README.md @@ -332,6 +332,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/models/README.md b/packages/models/README.md index 55779487d79..bd788c00b44 100644 --- a/packages/models/README.md +++ b/packages/models/README.md @@ -327,6 +327,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/new-design/README.md b/packages/new-design/README.md index 5dff7d6e266..b07a8a55635 100644 --- a/packages/new-design/README.md +++ b/packages/new-design/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/prettier-config/README.md b/packages/prettier-config/README.md index ca671ff4e06..7b71388d088 100644 --- a/packages/prettier-config/README.md +++ b/packages/prettier-config/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/rehype-jargon/README.md b/packages/rehype-jargon/README.md index 0a1e312aed5..2793ce8f3fe 100644 --- a/packages/rehype-jargon/README.md +++ b/packages/rehype-jargon/README.md @@ -406,6 +406,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/packages/snapseries/README.md b/packages/snapseries/README.md index 3cfb0472ab1..d725b21078d 100644 --- a/packages/snapseries/README.md +++ b/packages/snapseries/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-banner/README.md b/plugins/plugin-banner/README.md index 11285687fb3..9b5407252ce 100644 --- a/plugins/plugin-banner/README.md +++ b/plugins/plugin-banner/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-bartack/README.md b/plugins/plugin-bartack/README.md index 39588a3ee78..79885cd4228 100644 --- a/plugins/plugin-bartack/README.md +++ b/plugins/plugin-bartack/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-bundle/README.md b/plugins/plugin-bundle/README.md index 643f1676ba1..4e3c5c1039a 100644 --- a/plugins/plugin-bundle/README.md +++ b/plugins/plugin-bundle/README.md @@ -309,6 +309,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-bust/README.md b/plugins/plugin-bust/README.md index 5707e15af42..546f8336fb4 100644 --- a/plugins/plugin-bust/README.md +++ b/plugins/plugin-bust/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-buttons/README.md b/plugins/plugin-buttons/README.md index f06f55792ee..52db5df280d 100644 --- a/plugins/plugin-buttons/README.md +++ b/plugins/plugin-buttons/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-cutlist/README.md b/plugins/plugin-cutlist/README.md index 71d8b4fc592..59d2f80e474 100644 --- a/plugins/plugin-cutlist/README.md +++ b/plugins/plugin-cutlist/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-cutonfold/README.md b/plugins/plugin-cutonfold/README.md index d4f006156ff..af88198bd9d 100644 --- a/plugins/plugin-cutonfold/README.md +++ b/plugins/plugin-cutonfold/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-dimension/README.md b/plugins/plugin-dimension/README.md index c429a1949c5..7eefc25bd79 100644 --- a/plugins/plugin-dimension/README.md +++ b/plugins/plugin-dimension/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-flip/README.md b/plugins/plugin-flip/README.md index 7e92b280052..4b5d13ddf93 100644 --- a/plugins/plugin-flip/README.md +++ b/plugins/plugin-flip/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-gore/README.md b/plugins/plugin-gore/README.md index e4262abaa27..6b388703043 100644 --- a/plugins/plugin-gore/README.md +++ b/plugins/plugin-gore/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-grainline/README.md b/plugins/plugin-grainline/README.md index 69faab7d3ff..cd2dc1a585d 100644 --- a/plugins/plugin-grainline/README.md +++ b/plugins/plugin-grainline/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-i18n/README.md b/plugins/plugin-i18n/README.md index 340d1af9774..71e4a9f2e97 100644 --- a/plugins/plugin-i18n/README.md +++ b/plugins/plugin-i18n/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-logo/README.md b/plugins/plugin-logo/README.md index 814a77f3ab4..c640e1dfb87 100644 --- a/plugins/plugin-logo/README.md +++ b/plugins/plugin-logo/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-measurements/README.md b/plugins/plugin-measurements/README.md index b9ae0dbed13..288b5737e7c 100644 --- a/plugins/plugin-measurements/README.md +++ b/plugins/plugin-measurements/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-mirror/README.md b/plugins/plugin-mirror/README.md index 33cd18c7df4..f2c386250ed 100644 --- a/plugins/plugin-mirror/README.md +++ b/plugins/plugin-mirror/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-notches/README.md b/plugins/plugin-notches/README.md index 67de28398b7..98050735794 100644 --- a/plugins/plugin-notches/README.md +++ b/plugins/plugin-notches/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-round/README.md b/plugins/plugin-round/README.md index ac69f757161..09996862885 100644 --- a/plugins/plugin-round/README.md +++ b/plugins/plugin-round/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-scalebox/README.md b/plugins/plugin-scalebox/README.md index ce2e2d02bf2..11a3c3218e4 100644 --- a/plugins/plugin-scalebox/README.md +++ b/plugins/plugin-scalebox/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-sprinkle/README.md b/plugins/plugin-sprinkle/README.md index 1cdcdc5f3c9..24bb0d4ffe5 100644 --- a/plugins/plugin-sprinkle/README.md +++ b/plugins/plugin-sprinkle/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-svgattr/README.md b/plugins/plugin-svgattr/README.md index 4a39e02f3f5..e23ba216cf5 100644 --- a/plugins/plugin-svgattr/README.md +++ b/plugins/plugin-svgattr/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-theme/README.md b/plugins/plugin-theme/README.md index 6d105db1f6d..32347280b09 100644 --- a/plugins/plugin-theme/README.md +++ b/plugins/plugin-theme/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-timing/README.md b/plugins/plugin-timing/README.md index 2f105ed5a41..c2676bfc769 100644 --- a/plugins/plugin-timing/README.md +++ b/plugins/plugin-timing/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-title/README.md b/plugins/plugin-title/README.md index 4b13f246610..a620fa71156 100644 --- a/plugins/plugin-title/README.md +++ b/plugins/plugin-title/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/plugins/plugin-versionfree-svg/README.md b/plugins/plugin-versionfree-svg/README.md index 3438921b017..41978950927 100644 --- a/plugins/plugin-versionfree-svg/README.md +++ b/plugins/plugin-versionfree-svg/README.md @@ -280,6 +280,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d yc
yc

🌍 + + + diff --git a/tests/designs/sampling.mjs b/tests/designs/sampling.mjs index 68afba66d1c..6b103a0679b 100644 --- a/tests/designs/sampling.mjs +++ b/tests/designs/sampling.mjs @@ -1,4 +1,5 @@ import { adult, doll, giant } from '@freesewing/models' +import { getFamily, getShortName } from './config.mjs' import chai from 'chai' const expect = chai.expect @@ -13,24 +14,37 @@ const deprecated = ['theo'] * @param object Pattern: Pattern constructor * @param boolean log: Set to true to log errors */ -export const testPatternSampling = (Pattern, log=false) => { - +export const testPatternSampling = (Pattern, log = false) => { const pattern = new Pattern() - const config = pattern.getConfig() - const design = pattern.config.data.name - //const family = getFamily(design) + const config = Pattern.patternConfig + const design = getShortName(Pattern.designConfig.data.name) //const parts = pattern.getPartList() // Helper method to try/catch pattern sampling - const doesItSample = (pattern, log=false) => { + const doesItSample = (pattern, log = false) => { try { - pattern.sample() - if (pattern.events.error.length < 1) return true - if (log) console.log(pattern.events.error) + pattern.sample().render() + if (log === 'always') { + console.log(pattern.store.logs) + console.log(pattern.setStores[0].logs) + } + if (pattern.store.logs.error.length < 1 && pattern.setStores[0].logs.error.length < 1) { + return true + } + if (log && log !== 'always') { + console.log(pattern.store.logs) + console.log(pattern.setStores[0].logs) + } + return false - } - catch (err) { - if (log) console.log(err) + } catch (err) { + if (log && log !== 'always') { + console.log(pattern.settings[0]) + console.log(err) + console.log(pattern.store.logs) + console.log(pattern.setStores[0].logs) + } + return false } } @@ -39,16 +53,21 @@ export const testPatternSampling = (Pattern, log=false) => { /* * Sample different measurements */ - describe('Sample measurements:' , () => { + describe('Sample measurements:', () => { for (const measurement of config.measurements || []) { - it(` Sample ${measurement}:` , () => { - expect(doesItSample(new Pattern({ - sample: { - type: 'measurement', - measurement - }, - measurements: adult.cisFemale["36"] - }), log)).to.equal(true) + it(` Sample ${measurement}:`, () => { + expect( + doesItSample( + new Pattern({ + sample: { + type: 'measurement', + measurement, + }, + measurements: adult.cisFemale['36'], + }), + log + ) + ).to.equal(true) }) } }) @@ -58,18 +77,23 @@ export const testPatternSampling = (Pattern, log=false) => { /* * Sample different options */ - describe('Sample options:' , () => { - for (const option in Pattern.config.options) { - if (typeof Pattern.config.options[option] === 'object') { - it(` Sample ${option}:` , () => { - expect(doesItSample(new Pattern({ - sample: { - type: 'option', - option - }, - measurements: adult.cisFemale["36"] - }), log)).to.equal(true) - }) + describe('Sample options:', () => { + for (const option in config.options) { + if (typeof config.options[option] === 'object') { + it(` Sample ${option}:`, () => { + expect( + doesItSample( + new Pattern({ + sample: { + type: 'option', + option, + }, + measurements: adult.cisFemale['36'], + }), + log + ) + ).to.equal(true) + }) } } }) @@ -79,15 +103,20 @@ export const testPatternSampling = (Pattern, log=false) => { /* * Sample pattern for different models */ - describe(`Sample human measurements:` , () => { + describe(`Sample human measurements:`, () => { for (const type of ['cisFemale', 'cisMale']) { - it(`Sample pattern for adult ${type} size range:` , () => { - expect(doesItSample(new Pattern({ - sample: { - type: 'models', - models: adult[type], - }, - }), log)).to.equal(true) + it(`Sample pattern for adult ${type} size range:`, () => { + expect( + doesItSample( + new Pattern({ + sample: { + type: 'models', + models: adult[type], + }, + }), + log + ) + ).to.equal(true) }) } }) @@ -99,17 +128,20 @@ export const testPatternSampling = (Pattern, log=false) => { * Sample pattern for doll & giant */ for (const family of ['doll', 'giant']) { - describe(`Sample ${family} measurements:` , () => { + describe(`Sample ${family} measurements:`, () => { for (const type of ['cisFemale', 'cisMale']) { - it(`Sample pattern for ${family} ${type} size range:` , () => { - expect(doesItSample(new Pattern({ - sample: { - type: 'models', - models: family === 'doll' - ? doll[type] - : giant[type] - }, - }), log)).to.equal(true) + it(`Sample pattern for ${family} ${type} size range:`, () => { + expect( + doesItSample( + new Pattern({ + sample: { + type: 'models', + models: family === 'doll' ? doll[type] : giant[type], + }, + }), + log + ) + ).to.equal(true) }) } }) @@ -117,4 +149,3 @@ export const testPatternSampling = (Pattern, log=false) => { } } } -