Skip to content

Commit

Permalink
chore(cli): temporarily disable telemetry tests (#7845)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and juice49 committed Nov 22, 2024
1 parent c52a456 commit 9b5f565
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/@sanity/cli/test/telemetry.test.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import {expect, test} from 'vitest'
import {describe, expect, test} from 'vitest'

import {describeCliTest} from './shared/describe'
import {runSanityCmdCommand} from './shared/environment'

const testTimeout = 60000 // 60 seconds

describeCliTest('CLI: `sanity telemetry status`', () => {
describe.skip('CLI: `sanity telemetry status`', () => {
test(
'sanity telemetry status: granted',
async () => {
await runSanityCmdCommand('v3', ['telemetry', 'enable'], {
env: {
DEBUG: 'sanity:*',
CI: 'false',
// Mock current state (prior to enabling)
SANITY_CLI_MOCK_TELEMETRY_CONSENT_STATUS: 'unset',
},
})

Expand Down Expand Up @@ -97,7 +98,7 @@ https://www.sanity.io/telemetry
)
})

describeCliTest('CLI: `sanity telemetry enable`', () => {
describe.skip('CLI: `sanity telemetry enable`', () => {
test(
'sanity telemetry enable: success',
async () => {
Expand Down Expand Up @@ -153,7 +154,7 @@ https://www.sanity.io/telemetry
)
})

describeCliTest('CLI: `sanity telemetry disable`', () => {
describe.skip('CLI: `sanity telemetry disable`', () => {
test(
'sanity telemetry disable: success',
async () => {
Expand Down

0 comments on commit 9b5f565

Please sign in to comment.