You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Keep Blob tests to revisit in a few weeks
This commit is contained in:
@@ -307,9 +307,19 @@ const appReducer = (state = appDefaultState, action) => {
|
|||||||
let store = createStore(appReducer, applyMiddleware(generalMiddleware));
|
let store = createStore(appReducer, applyMiddleware(generalMiddleware));
|
||||||
storeDispatch = store.dispatch;
|
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) {
|
async function initialize(dispatch) {
|
||||||
shimInit();
|
shimInit();
|
||||||
|
|
||||||
|
// blobTest();
|
||||||
|
|
||||||
Setting.setConstant('env', __DEV__ ? 'dev' : 'prod');
|
Setting.setConstant('env', __DEV__ ? 'dev' : 'prod');
|
||||||
Setting.setConstant('appId', 'net.cozic.joplin-mobile');
|
Setting.setConstant('appId', 'net.cozic.joplin-mobile');
|
||||||
Setting.setConstant('appType', 'mobile');
|
Setting.setConstant('appType', 'mobile');
|
||||||
|
Reference in New Issue
Block a user