Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djiit/sb-dd-repro
https://github.com/djiit/sb-dd-repro
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/djiit/sb-dd-repro
- Owner: Djiit
- Created: 2024-09-18T07:39:59.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T07:42:55.000Z (4 months ago)
- Last Synced: 2024-10-15T23:07:03.411Z (3 months ago)
- Language: MDX
- Size: 811 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to reproduce
```bash
npm i
NODE_OPTIONS="-r dd-trace/ci/init" DD_ENV=ci DD_SERVICE=my-javascript-app npm run test-storybook
```Should throw:
```
(...)
FAIL browser: chromium src/stories/Header.stories.ts
● Test suite failed to runTypeError: Cannot read properties of undefined (reading 'testPath')
at new DatadogEnvironment (node_modules/dd-trace/packages/datadog-instrumentations/src/jest.js:118:49)
at new PlaywrightEnvironment (node_modules/jest-playwright-preset/lib/PlaywrightEnvironment.js:61:13)
at new CustomEnvironment (node_modules/@storybook/test-runner/playwright/custom-environment.js:5:1)
(...)
```