From 528cf097f2ff5d17152311c524ecb035598cecac Mon Sep 17 00:00:00 2001 From: Seb Insua Date: Thu, 29 Aug 2019 19:44:05 +0100 Subject: [PATCH] feat: expose @testing-library/dom#configure to support configuring the `testIdAttribute` --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 2c03f97..7289d7c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import {queries, waitForElement} from '@testing-library/dom' +import {configure, queries, waitForElement} from '@testing-library/dom' import {getContainer} from './utils' const getDefaultCommandOptions = () => { @@ -73,7 +73,7 @@ const commands = Object.keys(queries).map(queryName => { } }) -export {commands} +export {commands, configure} /* eslint no-new-func:0, complexity:0 */ /* globals Cypress, cy */