Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/thinkjs/thinkjs
/ controller.js
File
controller.js
test/case/extend/controller.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
test from
'ava'
;
2
const
helper = require(
'think-helper'
);
3
const
mock = require(
'mock-require'
);
4
const
mockie = require(
'../../lib/mockie'
);
Callers
nothing calls this directly
Calls
15
run
Method · 0.80
config
Method · 0.80
query
Method · 0.80
cookie
Method · 0.80
header
Method · 0.80
redirect
Method · 0.80
controller
Method · 0.80
action
Method · 0.80
getApplication
Function · 0.70
isMethod
Method · 0.65
isAjax
Method · 0.65
jsonp
Method · 0.65
Tested by
no test coverage detected