MCPcopy Create free account
hub / github.com/dailydotdev/apps / PostStaticProps.spec.ts

File PostStaticProps.spec.ts

packages/webapp/__tests__/PostStaticProps.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ApiError, gqlClient } from '@dailydotdev/shared/src/graphql/common';
2import type { Post } from '@dailydotdev/shared/src/graphql/posts';
3import { PostType } from '@dailydotdev/shared/src/graphql/posts';
4import { getStaticProps } from '../pages/posts/[id]/index';

Callers

nothing calls this directly

Calls 3

getStaticPropsFunction · 0.90
shouldNoindexPostFunction · 0.90
createPostFunction · 0.70

Tested by

no test coverage detected