mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
test: client: key: migrate to ESM
This commit is contained in:
parent
3bc49f02f8
commit
82bb338c1f
1 changed files with 5 additions and 11 deletions
|
|
@ -1,15 +1,9 @@
|
|||
'use strict';
|
||||
import autoGlobals from 'auto-globals';
|
||||
import supertape from 'supertape';
|
||||
import {ESC} from './key.mjs';
|
||||
import {Key, _listener} from './index.mjs';
|
||||
import {getDOM, getCloudCmd} from './vim/globals.fixture.js';
|
||||
|
||||
require('css-modules-require-hook/preset');
|
||||
|
||||
const autoGlobals = require('auto-globals');
|
||||
const supertape = require('supertape');
|
||||
|
||||
const {ESC} = require('./key.mjs');
|
||||
|
||||
const {Key, _listener} = require('./index.mjs');
|
||||
|
||||
const {getDOM, getCloudCmd} = require('./vim/globals.fixture');
|
||||
const test = autoGlobals(supertape);
|
||||
const {stub} = supertape;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue