mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Convert the integration
test-files to JavaScript modules
This commit is contained in:
parent
33456d3704
commit
9878d058fe
9 changed files with 83 additions and 68 deletions
|
@ -13,24 +13,23 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
const {
|
||||
import {
|
||||
closePages,
|
||||
dragAndDropAnnotation,
|
||||
getEditors,
|
||||
getEditorSelector,
|
||||
getSelectedEditors,
|
||||
getFirstSerialized,
|
||||
getSelectedEditors,
|
||||
getSerialized,
|
||||
loadAndWait,
|
||||
scrollIntoView,
|
||||
waitForEvent,
|
||||
waitForSelectedEditor,
|
||||
waitForUnselectedEditor,
|
||||
waitForSerialized,
|
||||
waitForStorageEntries,
|
||||
} = require("./test_utils.js");
|
||||
|
||||
const PNG = require("pngjs").PNG;
|
||||
waitForUnselectedEditor,
|
||||
} from "./test_utils.mjs";
|
||||
import { PNG } from "pngjs";
|
||||
|
||||
const copyPaste = async page => {
|
||||
let promise = waitForEvent(page, "copy");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue