Fix typo in FilesController.spec (#4917)

* Add the addFileNameHash option that allows users to remove the hash from file names

* Change option name to preserveFileName

* Revert changes to package-lock.json

* Fix typo in FileController.spec
This commit is contained in:
GabrielLomba
2018-07-27 18:41:04 -03:00
committed by Florent Vilmart
parent b92e76d61b
commit 5a0d09e90c

View File

@@ -81,7 +81,7 @@ describe("FilesController", () => {
done(); done();
}); });
it("should not add a unique hash to the file name when the preserveFileName option is false", (done) => { it("should not add a unique hash to the file name when the preserveFileName option is true", (done) => {
const config = Config.get(Parse.applicationId) const config = Config.get(Parse.applicationId)
const gridStoreAdapter = new GridStoreAdapter('mongodb://localhost:27017/parse') const gridStoreAdapter = new GridStoreAdapter('mongodb://localhost:27017/parse')