Keep Blob tests to revisit in a few weeks

pull/484/head
Laurent Cozic 2018-04-30 21:21:17 +01:00
parent 0c0efeac1f
commit c1f5dfd9cc
1 changed files with 10 additions and 0 deletions

View File

@ -307,9 +307,19 @@ const appReducer = (state = appDefaultState, action) => {
let store = createStore(appReducer, applyMiddleware(generalMiddleware));
storeDispatch = store.dispatch;
// function blobTest() {
// const contentType = 'text/plain';
// var blob = new Blob(['aaaaaaaaaaa'], { type: contentType });
// const fileTest = new File([blob], '/storage/emulated/0/Download/test.txt', { type: contentType, lastModified: Date.now() });
// console.info('FFFFFFFFFFFFFFFFFFFFF', fileTest);
// }
async function initialize(dispatch) {
shimInit();
// blobTest();
Setting.setConstant('env', __DEV__ ? 'dev' : 'prod');
Setting.setConstant('appId', 'net.cozic.joplin-mobile');
Setting.setConstant('appType', 'mobile');