@testing-library/user-event
Advanced tools
Comparing version 14.0.0-alpha.17 to 14.0.0-alpha.18
@@ -14,4 +14,2 @@ "use strict"; | ||
var _setFiles = require("#src/utils/edit/setFiles"); | ||
async function upload(element, fileOrFiles) { | ||
@@ -44,3 +42,3 @@ var _input$files; | ||
(0, _setFiles.setFiles)(input, (0, _utils.createFileList)(files)); | ||
(0, _utils.setFiles)(input, (0, _utils.createFileList)(files)); | ||
@@ -47,0 +45,0 @@ _dom.fireEvent.input(input); |
@@ -16,2 +16,3 @@ export * from './click/isClickableInput'; | ||
export * from './edit/prepareInput'; | ||
export * from './edit/setFiles'; | ||
export * from './focus/blur'; | ||
@@ -18,0 +19,0 @@ export * from './focus/copySelection'; |
@@ -202,2 +202,15 @@ "use strict"; | ||
var _setFiles = require("./edit/setFiles"); | ||
Object.keys(_setFiles).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _setFiles[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _setFiles[key]; | ||
} | ||
}); | ||
}); | ||
var _blur = require("./focus/blur"); | ||
@@ -204,0 +217,0 @@ |
{ | ||
"name": "@testing-library/user-event", | ||
"version": "14.0.0-alpha.17", | ||
"version": "14.0.0-alpha.18", | ||
"description": "Fire events the same way the user does", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
233880
5100