Skip to content

Commit a61ef7e

Browse files
GabrielLombaflovilmart
authored andcommitted
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
1 parent dd84c64 commit a61ef7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/FilesController.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe("FilesController", () => {
8181
done();
8282
});
8383

84-
it("should not add a unique hash to the file name when the preserveFileName option is false", (done) => {
84+
it("should not add a unique hash to the file name when the preserveFileName option is true", (done) => {
8585

8686
const config = Config.get(Parse.applicationId)
8787
const gridStoreAdapter = new GridStoreAdapter('mongodb://localhost:27017/parse')

0 commit comments

Comments
 (0)