Skip to content

Commit 356daa1

Browse files
committed
Update test
1 parent 9519936 commit 356daa1

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

test/integration/telemetry/test/config.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ describe('config telemetry', () => {
264264
expect(event1).toMatch(/"@next\/next\/.+?": "(off|warn|error)"/)
265265
})
266266

267-
it('emits telemery for usage of optimizeFonts, image, script & dynamic', async () => {
267+
it('emits telemery for usage of image, script & dynamic', async () => {
268268
const { stderr } = await nextBuild(appDir, [], {
269269
stderr: true,
270270
env: { NEXT_TELEMETRY_DEBUG: 1 },
@@ -277,10 +277,6 @@ describe('config telemetry', () => {
277277

278278
expect(featureUsageEvents).toEqual(
279279
expect.arrayContaining([
280-
{
281-
featureName: 'optimizeFonts',
282-
invocationCount: 1,
283-
},
284280
{
285281
featureName: 'next/image',
286282
invocationCount: 2,

test/turbopack-build-tests-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14919,7 +14919,7 @@
1491914919
"config telemetry production mode emits telemetry for usage of swc plugins"
1492014920
],
1492114921
"failed": [
14922-
"config telemetry production mode emits telemery for usage of optimizeFonts, image, script & dynamic",
14922+
"config telemetry production mode emits telemery for usage of image, script & dynamic",
1492314923
"config telemetry production mode emits telemetry for middleware related options",
1492414924
"config telemetry production mode emits telemetry for transpilePackages",
1492514925
"config telemetry production mode emits telemetry for usage of @vercel/og",

test/turbopack-dev-tests-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17034,7 +17034,7 @@
1703417034
"config telemetry production mode detects i18n and image configs for session start",
1703517035
"config telemetry production mode detects output config for session start",
1703617036
"config telemetry production mode detects rewrites, headers, and redirects for next build",
17037-
"config telemetry production mode emits telemery for usage of optimizeFonts, image, script & dynamic",
17037+
"config telemetry production mode emits telemery for usage of image, script & dynamic",
1703817038
"config telemetry production mode emits telemetry for `next lint`",
1703917039
"config telemetry production mode emits telemetry for configured React Compiler options",
1704017040
"config telemetry production mode emits telemetry for default React Compiler options",

0 commit comments

Comments
 (0)