File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " react- testing-library" ,
3- "version" : " 0.0.0-semantically-released " ,
2+ "name" : " @ testing-library/react " ,
3+ "version" : " 0.0.0" ,
44 "description" : " Simple and complete React DOM testing utilities that encourage good testing practices." ,
55 "main" : " dist/index.js" ,
6- "module" : " dist/react- testing-library.esm.js" ,
6+ "module" : " dist/@ testing-library/react .esm.js" ,
77 "typings" : " typings/index.d.ts" ,
88 "engines" : {
99 "node" : " >=8"
4242 "license" : " MIT" ,
4343 "dependencies" : {
4444 "@babel/runtime" : " ^7.4.5" ,
45- "dom- testing-library" : " ^4.1 .0"
45+ "@ testing-library/dom " : " ^5.0 .0"
4646 },
4747 "devDependencies" : {
4848 "@reach/router" : " ^1.2.1" ,
7979 "eslintIgnore" : [
8080 " node_modules" ,
8181 " coverage" ,
82- " dist"
82+ " dist" ,
83+ " *.d.ts"
8384 ],
8485 "repository" : {
8586 "type" : " git" ,
Original file line number Diff line number Diff line change 55 prettyDOM ,
66 fireEvent as dtlFireEvent ,
77 configure as configureDTL ,
8- } from 'dom- testing-library'
8+ } from '@ testing-library/dom '
99import act , { asyncAct } from './act-compat'
1010
1111configureDTL ( {
@@ -141,7 +141,7 @@ fireEvent.select = (node, init) => {
141141}
142142
143143// just re-export everything from dom-testing-library
144- export * from 'dom- testing-library'
144+ export * from '@ testing-library/dom '
145145export { render , cleanup , fireEvent , act }
146146
147147// NOTE: we're not going to export asyncAct because that's our own compatibility
Original file line number Diff line number Diff line change 1- import { queries , BoundFunction } from 'dom- testing-library'
1+ import { queries , BoundFunction } from '@ testing-library/dom '
22
3- export * from 'dom- testing-library'
3+ export * from '@ testing-library/dom '
44
55interface Query extends Function {
66 ( container : HTMLElement , ...args : any [ ] ) :
You can’t perform that action at this time.
0 commit comments