Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Oct 2, 2024
1 parent f6e642c commit b922568
Show file tree
Hide file tree
Showing 14 changed files with 1,032 additions and 127 deletions.
3 changes: 3 additions & 0 deletions .env.local.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PROXY_TO=http://localhost:8000
# REACT_APP_BASE_URL=http://localhost:8080
# REACT_APP_API_URL=http://localhost:8000
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,19 @@ const mockFlagsResponse = {
owner: {
repository: {
__typename: 'Repository',
flags: {
edges: [
{
node: {
name: 'flag-1',
coverageAnalytics: {
flags: {
edges: [
{
node: {
name: 'flag-1',
},
},
],
pageInfo: {
hasNextPage: true,
endCursor: '1-flag-1',
},
],
pageInfo: {
hasNextPage: true,
endCursor: '1-flag-1',
},
},
},
Expand All @@ -55,9 +57,11 @@ const mockBackfillResponse = {
},
owner: {
repository: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
coverageAnalytics: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
},
},
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ const mockFlagBackfillData = {
},
owner: {
repository: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
coverageAnalytics: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
},
},
},
}
Expand Down Expand Up @@ -166,17 +168,19 @@ const mockOwnerTier = {
const mockFlagsResponse = {
owner: {
repository: {
flags: {
edges: [
{
node: {
name: 'flag-1',
coverageAnalytics: {
flags: {
edges: [
{
node: {
name: 'flag-1',
},
},
],
pageInfo: {
hasNextPage: true,
endCursor: '1-flag-1',
},
],
pageInfo: {
hasNextPage: true,
endCursor: '1-flag-1',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ const mockBackfillResponse = {
},
owner: {
repository: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
coverageAnalytics: {
flagsMeasurementsActive: true,
flagsMeasurementsBackfilled: true,
flagsCount: 4,
},
},
},
}
Expand Down
Loading

0 comments on commit b922568

Please sign in to comment.