MCPcopy
hub / github.com/axios/axios / FormData

Class FormData

tests/unit/utils.test.js:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45 it('should detect custom FormData instances by toStringTag signature and append method presence', () => {
46 class FormData {
47 append() {}
48
49 get [Symbol.toStringTag]() {
50 return 'FormData';
51 }
52 }
53 assert.equal(utils.isFormData(new FormData()), true);
54 });
55 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected