]> git.codecow.com Git - libnemo.git/commitdiff
Disable all test code coverage by default to exclude bundled dependencies.
authorChris Duncan <chris@zoso.dev>
Mon, 15 Sep 2025 22:29:17 +0000 (15:29 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 15 Sep 2025 22:29:17 +0000 (15:29 -0700)
esbuild/config.mjs

index c8abe39c0f0b46dc1bd1305a299841263286968a..da1c8d9e6b7bf5a42e71816982fb04b7240726fc 100644 (file)
@@ -55,6 +55,9 @@ export const nodeOptions = {
        entryPoints: [
                { in: './src/main.ts', out: 'nodejs.min' }
        ],
+       banner: {
+               js: '/* node:coverage disable */'
+       },
        dropLabels: ['BROWSER'],
        external: ['node:worker_threads'],
        inject: ['./esbuild/inject/fake-indexeddb.mjs']