mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
fix web test failure
This commit is contained in:
parent
05ce8500d1
commit
22e5989783
@ -0,0 +1,40 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`CommandBar Component should render correctly 1`] = `
|
||||||
|
Array [
|
||||||
|
<div
|
||||||
|
className="command"
|
||||||
|
>
|
||||||
|
Command Result
|
||||||
|
</div>,
|
||||||
|
<div
|
||||||
|
className="command-result"
|
||||||
|
/>,
|
||||||
|
<div
|
||||||
|
className="command-suggestion"
|
||||||
|
>
|
||||||
|
Argument suggestion:
|
||||||
|
|
||||||
|
</div>,
|
||||||
|
<div
|
||||||
|
className="command-input input-group"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className="input-group-addon"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
className="fa fa-fw fa-terminal"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
<input
|
||||||
|
className="form-control"
|
||||||
|
onChange={[Function]}
|
||||||
|
onKeyDown={[Function]}
|
||||||
|
onKeyUp={[Function]}
|
||||||
|
placeholder="Enter command"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
</div>,
|
||||||
|
]
|
||||||
|
`;
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useState, useEffect, Component } from 'react'
|
import React, { useState, useEffect, Component } from 'react'
|
||||||
import classnames from 'classnames'
|
import classnames from 'classnames'
|
||||||
import { Key, fetchApi } from '../utils.js'
|
import { Key, fetchApi } from '../utils'
|
||||||
import Filt from '../filt/command'
|
import Filt from '../filt/command'
|
||||||
|
|
||||||
export default function CommandBar() {
|
export default function CommandBar() {
|
||||||
|
Loading…
Reference in New Issue
Block a user