We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99ee34c commit 7f6cc62Copy full SHA for 7f6cc62
demo.test.mjs
@@ -4,14 +4,16 @@ import { test } from 'node:test'
4
test('edge function config', async () => {
5
const { config } = await import('./demo/.netlify/edge-functions/angular-ssr/angular-ssr.mjs')
6
7
- assert.deepEqual(config.excludedPath, [
+ const excludedPathsWithMaskedHashes = config.excludedPath.map((path) => path.replace(/-[A-Z\d]{8}\./, '-HASHHASH.'))
8
+
9
+ assert.deepEqual(excludedPathsWithMaskedHashes, [
10
'/.netlify/*',
11
'/favicon.ico',
12
'/heroes/index.html',
13
'/index.csr.html',
- '/main-KVCR6MBP.js',
- '/polyfills-FFHMD2TL.js',
14
- '/styles-5INURTSO.css',
+ '/main-HASHHASH.js',
15
+ '/polyfills-HASHHASH.js',
16
+ '/styles-HASHHASH.css',
17
'/heroes',
18
])
19
})
0 commit comments