Skip to content

Commit

Permalink
Astro Integration System (withastro#2820)
Browse files Browse the repository at this point in the history
* update examples

* add initial integrations

* update tests

* update astro

* update ci

* get final tests working

* update injectelement todo

* update ben code review

* respond to final code review feedback
  • Loading branch information
FredKSchott authored Mar 18, 2022
1 parent f32cd41 commit 53ca19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ export default async function build(...args) {
await esbuild.build({
...config,
sourcemap: false,
bundle: entryPoints.length === 1, // Note: only use `bundle` with a single entrypoint!
bundle: false,
entryPoints,
outdir,
format,
plugins: [svelte({ isDev })],
});
return;
}
Expand Down
2 changes: 1 addition & 1 deletion memory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const endSize = v8.getHeapStatistics().used_heap_size;

// If the trailing average is higher than the median, see if it's more than 5% higher
let percentage = endSize / startSize;
const TEST_THRESHOLD = 1.2;
const TEST_THRESHOLD = 1.5;
const isPass = percentage < TEST_THRESHOLD;
console.log(``);
console.log(`Result: ${isPass ? 'PASS' : 'FAIL'} (${percentage * 100}%)`);
Expand Down

0 comments on commit 53ca19c

Please sign in to comment.