This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LocalDate } from 'js-joda'; | |
import { ViewInitializer, renderTest } from 'test/testUtils'; | |
import { initialState } from 'state/app'; | |
import AppConstants from 'constants/AppConstants'; | |
import React from 'react'; | |
import WalkinWaitlistActionCard from 'components/business/walkin-waitlist/WalkinWaitlistActionCard'; | |
describe('<WalkinWaitlistActionCard />', () => { | |
const defaultBusiness = { | |
id: 123, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('<WalkinWaitlistActionCard />', () => { | |
const defaultBusiness = { | |
id: 123, | |
domainName: 'testWalkinWaitlist', | |
onlineWalkinWaitlistEnabled: true, | |
}; | |
function createBaseTestRenderer() { | |
return testRender() | |
.enableFeatureFlag(['ONLINE_WALKIN_WAITLIST', 'ONLINE_WALKIN_WAITLIST_POSITION']) | |
.setStoreState('app', { |