Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10360701
test-complex.test.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
694 B
Referenced Files
None
Subscribers
None
test-complex.test.ts
View Options
import
{
withProdApp
}
from
"../test_utils/with-prod-app"
;
import
{
LONG_TEST_TIMEOUT
,
webhintURL
}
from
"../test_utils/webhint"
;
import
{
TestComplexURL
}
from
"./routes"
;
describe
(
"TestComplex"
,
()
=>
{
it
(
"doesn't crash"
,
async
function
()
{
this
.
timeout
(
LONG_TEST_TIMEOUT
);
return
withProdApp
(
async
({
base_url
,
rest_api
})
=>
{
await
rest_api
.
get
(
TestComplexURL
);
await
webhintURL
(
base_url
+
TestComplexURL
);
// alternatively you can use webhintHTML for faster but less precise scans
// or for scanning responses of requests that use some form of authorization:
// const response = await rest_api.get(TestComplexURL);
// await webhintHTML(response);
});
});
});
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sat, Nov 8, 08:22 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1031845
Default Alt Text
test-complex.test.ts (694 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment