mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 01:18:15 +00:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d83958edea | ||
|
|
7603fe2bdd |
6 changed files with 837 additions and 803 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2021.01.18, v15.3.2
|
||||
|
||||
fix:
|
||||
- (client) dom: goToDirectory
|
||||
|
||||
|
||||
2021.01.17, v15.3.1
|
||||
|
||||
fix:
|
||||
|
|
|
|||
2
HELP.md
2
HELP.md
|
|
@ -1,4 +1,4 @@
|
|||
# Cloud Commander v15.3.1
|
||||
# Cloud Commander v15.3.2
|
||||
|
||||
### [Main][MainURL] [Blog][BlogURL] Live(![Heroku][Heroku_LIVE_IMG] [Heroku][HerokuURL])
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Cloud Commander v15.3.1 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
||||
# Cloud Commander v15.3.2 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
||||
|
||||
### [Main][MainURL] [Blog][BlogURL] Live([Heroku][HerokuURL])
|
||||
|
||||
|
|
|
|||
1598
client/dom/index.js
1598
client/dom/index.js
File diff suppressed because it is too large
Load diff
30
client/dom/index.spec.js
Normal file
30
client/dom/index.spec.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
'use strict';
|
||||
|
||||
require('css-modules-require-hook');
|
||||
|
||||
const {test, stub} = require('supertape');
|
||||
const mockRequire = require('mock-require');
|
||||
const {reRequire} = mockRequire;
|
||||
|
||||
global.CloudCmd = {};
|
||||
|
||||
test('cloudcmd: client: dom: goToDirectory', async (t) => {
|
||||
const path = '';
|
||||
const {CloudCmd} = global;
|
||||
const loadDir = stub();
|
||||
const prompt = stub().returns([null, path]);
|
||||
|
||||
CloudCmd.loadDir = loadDir;
|
||||
|
||||
mockRequire('./dialog', {
|
||||
prompt,
|
||||
});
|
||||
|
||||
const {goToDirectory} = reRequire('.');
|
||||
|
||||
await goToDirectory();
|
||||
|
||||
t.calledWith(loadDir, [{path}]);
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cloudcmd",
|
||||
"version": "15.3.1",
|
||||
"version": "15.3.2",
|
||||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
||||
"description": "File manager for the web with console and editor",
|
||||
"homepage": "http://cloudcmd.io",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue