Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1262433
hello.test.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
683 B
Referenced Files
None
Subscribers
None
hello.test.ts
View Options
import
{
VERY_LONG_TEST_TIMEOUT
,
webhintURL
}
from
"../test_utils/webhint.js"
;
import
{
withProdApp
}
from
"../test_utils/with-prod-app.js"
;
import
{
HelloURL
}
from
"./urls.js"
;
describe
(
"Hello"
,
()
=>
{
it
(
"doesn't crash"
,
async
function
()
{
return
withProdApp
(
async
({
base_url
,
rest_api
})
=>
{
await
rest_api
.
get
(
HelloURL
);
await
webhintURL
(
base_url
+
HelloURL
);
// 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(HelloURL);
// await webhintHTML(response);
});
},
VERY_LONG_TEST_TIMEOUT
);
});
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 24, 03:27 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
600433
Default Alt Text
hello.test.ts (683 B)
Attached To
Mode
rPHOTOAPP photo-app-demo
Attached
Detach File
Event Timeline
Log In to Comment