Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcepa committed Jan 19, 2025
1 parent a0138f7 commit 383a66a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions packages/toucan-js/test/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ exports[`Toucan captureException Error with cause 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -112,6 +113,7 @@ exports[`Toucan captureException captureException: primitive 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -167,6 +169,7 @@ exports[`Toucan captureException captureException: primitive 2`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -222,6 +225,7 @@ exports[`Toucan captureException captureException: primitive 3`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -283,6 +287,7 @@ exports[`Toucan captureException object 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -337,6 +342,7 @@ exports[`Toucan captureException runtime thrown Error 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -377,6 +383,7 @@ exports[`Toucan captureMessage sends correct body to Sentry 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -410,6 +417,7 @@ exports[`Toucan general invalid URL does not fail 1`] = `
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down Expand Up @@ -461,6 +469,7 @@ exports[`Toucan stacktraces attachStacktrace = true sends stacktrace with captur
"integrations": [
"RequestData",
"LinkedErrors",
"ZodErrors",
],
"name": "toucan-js",
"packages": ArrayContaining [
Expand Down
2 changes: 1 addition & 1 deletion packages/toucan-js/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const VALID_DSN = 'https://123:[email protected]/123';
// This is the default buffer size
const DEFAULT_BUFFER_SIZE = 30;

const DEFAULT_INTEGRATIONS = ['RequestData', 'LinkedErrors'];
const DEFAULT_INTEGRATIONS = ['RequestData', 'LinkedErrors', 'ZodErrors'];

/**
* We don't care about exact values of pseudorandomized and time-related properties, as long as they match the type we accept them.
Expand Down

0 comments on commit 383a66a

Please sign in to comment.