api-client/helpers
Karel De Smet a2a03c6b52
Unit tests for test functions toBe, toHaveProperty (#1392)
* Added unit tests for the post-request tests

* Added 2 top level functions to avoid duplication of code

* Simplified tests for toBe and error handling

* Added a test for asserting string values with toBe

* Added a test for negative assertion with toBe

* Added tests for toHaveProperty

* Imported PASS, FAIL and ERROR constants

* Use getTestResult and getErrors to avoid duplication of code

* Removed .vscode/settings.json

* Minor cleanup to postwomanTesting.spec.js

* Revert change of runTestScriptWithVariables back to default export

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-12-19 07:45:36 +05:30
..
__tests__ Unit tests for test functions toBe, toHaveProperty (#1392) 2020-12-19 07:45:36 +05:30
codegen Updated test snapshot 2020-11-03 14:06:24 +05:30
lenses chores: Lint + dependency update 2020-09-27 23:34:15 +05:30
strategies chores: Lint + dependency update 2020-09-27 23:34:15 +05:30
syntax Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
utils Updated debounce test spec to use jest timers 2020-08-26 12:14:47 -04:00
curlparser.js Moved utility functions from assets to helpers 2020-09-26 07:57:45 +05:30
editorutils.js Add application/vnd.api+json as a valid JSON mime to editorutils 2020-08-19 00:41:06 -04:00
fb.js fix: turn off permission of GitHub OAuth app fixed #1377 2020-12-10 16:12:38 +05:30
findStatusGroup.js Minor refactoring and code splitting 2020-12-01 05:21:14 +05:30
headers.js Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
jsonParse.js jsonParse now validates for array as root JSONs 2020-08-26 18:21:37 -04:00
network.js Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
oauth.js Moved utility functions from assets to helpers 2020-09-26 07:57:45 +05:30
platformutils.js Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
postwomanTesting.js Unit tests for test functions toBe, toHaveProperty (#1392) 2020-12-19 07:45:36 +05:30
preRequest.js Handled error handling to pre-request script execution 2020-08-02 00:26:16 -04:00
pwa.js Moved utility functions from assets to helpers 2020-09-26 07:57:45 +05:30
requestParams.js Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
templating.js Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30