UNPKG

wix-style-react

Version:
11 lines 552 B
import { baseUniDriverFactory } from '../test-utils/utils/unidriver'; import { dataHooks } from './constants'; const byDataHook = dataHook => `[data-hook="${dataHook}"]`; export const sortableGridBaseUniDriverFactory = base => { return { ...baseUniDriverFactory(base), startFixedElementExists: async () => base.$(byDataHook(dataHooks.START_FIXED_ELEMENT)).exists(), endFixedElementExists: async () => base.$(byDataHook(dataHooks.END_FIXED_ELEMENT)).exists(), }; }; //# sourceMappingURL=SortableGridBase.uni.driver.js.map