mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
fix FormData.name (#1412)
This commit is contained in:
parent
c6e2fffc13
commit
c002ea10fa
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { test, assert, assertEqual } from "./test_util.ts";
|
||||
|
||||
test(function formDataHasCorrectNameProp() {
|
||||
assertEqual(FormData.name, "FormData");
|
||||
});
|
||||
|
||||
test(function formDataParamsAppendSuccess() {
|
||||
const formData = new FormData();
|
||||
formData.append("a", "true");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue