File tree 3 files changed +10
-9
lines changed
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react- testing-library" ,
3
- "version" : " 0.0.0-semantically-released " ,
2
+ "name" : " @ testing-library/react " ,
3
+ "version" : " 0.0.0" ,
4
4
"description" : " Simple and complete React DOM testing utilities that encourage good testing practices." ,
5
5
"main" : " dist/index.js" ,
6
- "module" : " dist/react- testing-library.esm.js" ,
6
+ "module" : " dist/@ testing-library/react .esm.js" ,
7
7
"typings" : " typings/index.d.ts" ,
8
8
"engines" : {
9
9
"node" : " >=8"
42
42
"license" : " MIT" ,
43
43
"dependencies" : {
44
44
"@babel/runtime" : " ^7.4.5" ,
45
- "dom- testing-library" : " ^4.1 .0"
45
+ "@ testing-library/dom " : " ^5.0 .0"
46
46
},
47
47
"devDependencies" : {
48
48
"@reach/router" : " ^1.2.1" ,
79
79
"eslintIgnore" : [
80
80
" node_modules" ,
81
81
" coverage" ,
82
- " dist"
82
+ " dist" ,
83
+ " *.d.ts"
83
84
],
84
85
"repository" : {
85
86
"type" : " git" ,
Original file line number Diff line number Diff line change 5
5
prettyDOM ,
6
6
fireEvent as dtlFireEvent ,
7
7
configure as configureDTL ,
8
- } from 'dom- testing-library'
8
+ } from '@ testing-library/dom '
9
9
import act , { asyncAct } from './act-compat'
10
10
11
11
configureDTL ( {
@@ -141,7 +141,7 @@ fireEvent.select = (node, init) => {
141
141
}
142
142
143
143
// just re-export everything from dom-testing-library
144
- export * from 'dom- testing-library'
144
+ export * from '@ testing-library/dom '
145
145
export { render , cleanup , fireEvent , act }
146
146
147
147
// 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 '
2
2
3
- export * from 'dom- testing-library'
3
+ export * from '@ testing-library/dom '
4
4
5
5
interface Query extends Function {
6
6
( container : HTMLElement , ...args : any [ ] ) :
You can’t perform that action at this time.
0 commit comments