Skip to content

Commit

Permalink
refactor and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liyiy committed Feb 7, 2024
1 parent 3fa33ee commit e6a3c1f
Show file tree
Hide file tree
Showing 9 changed files with 504 additions and 481 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/surveys.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ describe('Surveys', () => {
type: 'popover',
start_date: '2021-01-01T00:00:00Z',
questions: [emojiRatingQuestion],
appearance: appearanceWithThanks,
appearance: { ...appearanceWithThanks, backgroundColor: 'black' },
},
],
}).as('surveys')
Expand Down
3 changes: 2 additions & 1 deletion src/__tests__/extensions/surveys.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'regenerator-runtime/runtime'
import { createShadow, generateSurveys } from '../../extensions/surveys'
import { generateSurveys } from '../../extensions/surveys'
import { createShadow } from '../../extensions/surveys/surveys-utils'
import { SurveyType } from '../../posthog-surveys-types'

describe('survey display logic', () => {
Expand Down
Loading

0 comments on commit e6a3c1f

Please sign in to comment.