mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
test(vim) mv out from test
This commit is contained in:
parent
0732063e18
commit
af4df5e64f
4 changed files with 8 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
.*
|
||||
*.spec.js
|
||||
*.fixture.js
|
||||
manifest.yml
|
||||
Dockerfile*
|
||||
docker-compose.yml
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
const test = require('tape');
|
||||
const diff = require('sinon-called-with-diff');
|
||||
const sinon = diff(require('sinon'));
|
||||
const dir = '../../../../client/key/vim/';
|
||||
const dir = './';
|
||||
|
||||
const {
|
||||
getDOM,
|
||||
} = require('./globals');
|
||||
} = require('./globals.fixture');
|
||||
|
||||
global.DOM = global.DOM || getDOM();
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ test('cloudcmd: client: vim: find', (t) => {
|
|||
|
||||
find('');
|
||||
|
||||
t.ok(setCurrentByName.calledWith(), 'should call setCurrentByName');
|
||||
t.ok(setCurrentByName.calledWith(null), 'should call setCurrentByName');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ test('cloudcmd: client: vim: findNext', (t) => {
|
|||
|
||||
findNext();
|
||||
|
||||
t.ok(setCurrentByName.calledWith(), 'should call setCurrentByName');
|
||||
t.ok(setCurrentByName.calledWith(null), 'should call setCurrentByName');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ test('cloudcmd: client: vim: findPrevious', (t) => {
|
|||
|
||||
findPrevious();
|
||||
|
||||
t.ok(setCurrentByName.calledWith(), 'should call setCurrentByName');
|
||||
t.ok(setCurrentByName.calledWith(null), 'should call setCurrentByName');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -3,13 +3,13 @@
|
|||
const test = require('tape');
|
||||
const diff = require('sinon-called-with-diff');
|
||||
const sinon = diff(require('sinon'));
|
||||
const dir = '../../../../client/key/';
|
||||
const dir = '../';
|
||||
const KEY = require(dir + 'key');
|
||||
|
||||
const {
|
||||
getDOM,
|
||||
getCloudCmd,
|
||||
} = require('./globals');
|
||||
} = require('./globals.fixture');
|
||||
|
||||
global.DOM = global.DOM || getDOM();
|
||||
global.CloudCmd = global.CloudCmd || getCloudCmd();
|
||||
Loading…
Add table
Add a link
Reference in a new issue