Skip to content

Commit

Permalink
Merge pull request #28822 from storybookjs/shilman/globals-telemetry
Browse files Browse the repository at this point in the history
Telemetry: Add globals stats
  • Loading branch information
ndelangen authored Aug 7, 2024
2 parents 9d48cd5 + d391678 commit c48fc0f
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 1 deletion.
3 changes: 3 additions & 0 deletions code/core/src/core-server/utils/StoryIndexGenerator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ describe('StoryIndexGenerator', () => {
expect(stats).toMatchInlineSnapshot(`
{
"beforeEach": 0,
"globals": 0,
"loaders": 0,
"moduleMock": 0,
"mount": 0,
Expand Down Expand Up @@ -461,6 +462,7 @@ describe('StoryIndexGenerator', () => {
expect(stats).toMatchInlineSnapshot(`
{
"beforeEach": 1,
"globals": 0,
"loaders": 1,
"moduleMock": 0,
"mount": 1,
Expand Down Expand Up @@ -725,6 +727,7 @@ describe('StoryIndexGenerator', () => {
expect(stats).toMatchInlineSnapshot(`
{
"beforeEach": 1,
"globals": 0,
"loaders": 1,
"moduleMock": 0,
"mount": 1,
Expand Down
Loading

0 comments on commit c48fc0f

Please sign in to comment.