2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

chore(ci): add local HTTP server for Karma tests; (#7022)

This commit is contained in:
Dmitriy Mozgovoy
2025-09-13 17:50:32 +03:00
committed by GitHub
parent 19f9f36850
commit 9fb41a8fcd
6 changed files with 133 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import {retryNetwork} from "../helpers/retry.js";
describe('FormData', function() {
it('should allow FormData posting', async () => {
await retryNetwork(() => {
return axios.postForm('http://httpbin.org/post', {
return axios.postForm(TEST_SERVER_URL, {
a: 'foo',
b: 'bar'
}).then(({data}) => {