Skip to content

Commit 9b43874

Browse files
committed
ci: update actions version
1 parent 334669f commit 9b43874

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Build and publish package
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 22
29+
node-version: 23
3030
registry-url: https://registry.npmjs.org/
3131

3232
- run: git config --global user.email "[email protected]"

tests/formdata-convertations.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ describe("FormData convertation", () => {
4141
assert.strictEqual(user.greeting, formData.get("greeting"), "greeting is not equal");
4242
assert.strictEqual(user.favoriteFruit, formData.get("favoriteFruit"), "favoriteFruit is not equal");
4343

44-
fetch("api/sendFile", {
45-
method: "POST",
46-
body: user.toFormData()
47-
});
48-
4944
/*
5045
* Nodejs version of FormData don't support arrays of objects, but C# and browser version of FormData support him.
5146
* Because test run under nodejs env, this next part disabled. Check this code in future versions of nodejs.

0 commit comments

Comments
 (0)