Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@sinonjs/commons/lib/value-to-string.test.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40sinonjs/commons/lib/value-to-string.test.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@sinonjs/commons/lib/value-to-string.test.js
-
curl -L -o value-to-string.test.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40sinonjs/commons/lib/value-to-string.test.js
587 Bytes
| ; | |
| var assert = require("@sinonjs/referee-sinon").assert; | |
| var valueToString = require("./value-to-string"); | |
| describe("util/core/valueToString", function () { | |
| it("returns string representation of an object", function () { | |
| var obj = {}; | |
| assert.equals(valueToString(obj), obj.toString()); | |
| }); | |
| it("returns 'null' for literal null'", function () { | |
| assert.equals(valueToString(null), "null"); | |
| }); | |
| it("returns 'undefined' for literal undefined", function () { | |
| assert.equals(valueToString(undefined), "undefined"); | |
| }); | |
| }); | |