Skip to content

Commit

Permalink
fix file test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 27, 2024
1 parent f8233eb commit 02f9e49
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/inputs/files.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import * as Inputs from "../../src/index.js";

const Inputs_file = Inputs.fileOf(class AbstractFile {});

export async function file() {
return Inputs_file();
return Inputs.file();
}

export async function fileLabel() {
return Inputs_file({label: "dollars&pounds"});
return Inputs.file({label: "dollars&pounds"});
}

export async function fileWide() {
return Inputs_file({width: "20em"});
return Inputs.file({width: "20em"});
}

0 comments on commit 02f9e49

Please sign in to comment.