阅读背景:

如何在javascript中模拟文件?

来源:互联网 

I'm developing some small project to exercise my TDD skills. The project consists of an audio player which has the ability to drag'n'drop files in a playlist. I'm using Jasmine as a testing framework. The problem I faced is that I can't mock javascript files to test my file upload functionality. I tried to create a File like this:I'm developing some small project to exercise m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: