Commit Graph

4 Commits

Author SHA1 Message Date
nprimo a095b4de74 feat(uninvited): update broken links 2023-12-18 15:45:56 +00:00
eslopfer f85c056f72 docs(uninvited): update link to resource 2023-01-04 05:38:24 +00:00
eslopfer 52bc2d7040 docs(uninvited): update link to guests folder 2023-01-04 05:38:24 +00:00
eslopfer 2cc7a8a432
Dev 3747 new exercise about handling different http request methods (#1624)
* docs(piscine-js): add description for the subject uninvited

* docs(uninvited.mjs): modify name in example

* docs(uninvited): modify example

* test(uninvited_test): add preliminary tests

* fix(uninvited_test): export variable tests

* chore(uninvited): run prettier

* test(uninvited): write test to check for invalid status code

* test(uninvited): write test to check for invalid content type

* chore(uninvited): prettier

* test(uninvited): add test to check if server failed

* test(uninvited): export tests

* test(uninvited): freeze tests to avoid tampering

* test(uninvited): remove unused import

* test(uninvited): remove unused parameter

* test(uninvited): catch rejected promise

* test(uninvited): return boolean with result of creating file

* test(uninvited): fail if trying to write to an existing file, add flag

* test(uninvited): write test to check file is created

* test(uninvited): fix wrong path

* test(uninvited): rename function for accuracy

* test(uninvited): dry code

* test(uninvited): rename functions for consistency

* test(uninvited): test request body on success

* test(uninvited): kill server before if statement

* docs(uninvited): rephrase for conciseness

* debug(uninvited): Working up to test 4

* test(uninvited): working tests for the subject

* chore(uninvited): prettier

* chore(uninvited): clean-up, remove extra lines and redundant parameter

* tests(uninvited): replace undefined by constant value

* test(uninvited): add test to check content of file

* chore(uninvited): remove redundant assignment

* fix(uninvited): remove yarn.lock

* chore(uninvited): remove console log

* docs(uninvited): specify what to do when the file already exists

* fix(uninvited): revert gitignore

* fix(test): restore unused import

* docs(uninvited): add link on how to read POST data from a request

* docs(uninvited): remove mention to alcohol

* test(uninvited): remove unused import

* fix(gitignore): add new line at end of file

* docs(uninvited): make example more neutral
2022-12-28 11:51:07 +00:00