We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3469882 commit c6bba0fCopy full SHA for c6bba0f
test/file.js
@@ -2,11 +2,9 @@
2
3
describe('files', function() {
4
describe('Saving base64', function() {
5
-
6
- var base64 = 'd29ya2luZyBhdCBhdm9zY2xvdWQgaXMgZ3JlYXQh';
7
- var file = new AV.File('myfile.txt', { base64: base64 });
8
9
it('should be saved', function(done) {
+ var base64 = 'd29ya2luZyBhdCBhdm9zY2xvdWQgaXMgZ3JlYXQh';
+ var file = new AV.File('myfile.txt', { base64: base64 });
10
file.metaData('format', 'txt file');
11
file.setACL(new AV.ACL());
12
file.save().then(function() {
0 commit comments