npm

testem

Test'em 'scripts! JavaScript unit testing made easy.

版本 1已同步 1文件 75 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

建议复核
安全分
83
最近扫描 2026-06-13
扫描覆盖
100%
75 / 75 文件
高危文件
0
0 条 critical
待复核
2
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 3.20.1
75 文件
75 JS / 0 CSS / 0 WASM
2 review files
testem/3.20.1/lib/browser_launcher.js
https://cdn.ptab.cn/cdn/testem/3.20.1/lib/browser_launcher.js
当前版本 75 个文件,3 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

固定到 3.20.1,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

<script src="https://cdn.ptab.cn/cdn/testem/3.20.1/lib/browser_launcher.js" integrity="sha256-K77aOoAzVuI4NiAJvtd7egY9k7Ye8vPYpZzB/JX9mu0=" crossorigin="anonymous"></script>
1版本
75文件
3.20.1最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
9.4 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/testem/3.20.1/lib/reporters/dev/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/testem/3.20.1/lib/reporters/dev/index.js" integrity="sha256-UA5B3lta7KouWsiWfvwnPzM+iXK4XvquQLKuEF5untM=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/testem/3.20.1/lib/reporters/dev/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 3.20.1,展示 75 / 75 个文件。
testem/3.20.1/lib/reporters/dev/index.js
JS
9.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/index.js
JS
198 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/server/index.js
JS
12.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/assets/phantom.js
JS
320 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/api.js
JS
3.9 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/app.js
JS
13.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/browser_launcher.js
JS
1.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/browser_tap_consumer.js
JS
490 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/cli-local-delegation.js
JS
2.3 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/config.js
JS
18.0 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/file_watcher_impl.js
JS
7.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/file_watcher.js
JS
4.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/launcher-factory.js
JS
481 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/launcher.js
JS
3.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/log.js
JS
1.6 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/process-ctl.js
JS
2.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/constants.js
JS
352 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/error_messages_panel.js
JS
1.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/patchcharm.js
JS
1.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/runner_tabs.js
JS
11.5 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/runner.js
JS
765 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/screen.js
JS
1.2 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/scrollable_text_panel.js
JS
3.5 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/split_log_panel.js
JS
7.9 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/test_results.js
JS
926 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/toast_notify.js
JS
123 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dev/view.js
JS
1.1 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/dot_reporter.js
JS
2.6 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/tap_reporter.js
JS
1.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/teamcity_reporter.js
JS
3.0 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/reporters/xunit_reporter.js
JS
4.0 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/runners/browser_test_runner.js
JS
8.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/runners/hook_runner.js
JS
3.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/runners/process_test_runner.js
JS
1.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/runners/tap_process_test_runner.js
JS
2.0 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/runners/to-result.js
JS
2.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/tap_consumer.js
JS
3.4 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/add-to-PATH.js
JS
517 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/browser-args.js
JS
5.5 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/capitalize.js
JS
289 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/chars.js
JS
742 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/clean_exit.js
JS
500 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/current-time.js
JS
192 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/displayutils.js
JS
2.6 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/env-with-local-path.js
JS
468 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/esbuild-browser-polyfills.js
JS
1.8 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/esbuild-buffer-inject.js
JS
403 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/expand_glob_pattern.js
JS
921 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/file_watch_glob_policy.js
JS
3.9 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/fileutils.js
JS
748 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/is_emfile_error.js
JS
420 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/is-node-lt.js
JS
152 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/is-win.js
JS
233 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/isa.js
JS
771 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/known-browsers.js
JS
13.3 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/log-entry.js
JS
444 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/path_pattern_match.js
JS
1.2 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/posix.js
JS
246 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/process.js
JS
5.2 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/promises.js
JS
3.1 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/report-file.js
JS
908 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/reporter.js
JS
3.6 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/run-timeout.js
JS
916 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/signal-listeners.js
JS
991 B
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/strutils.js
JS
1.3 KB
SRI ready
未分级
0 请求
testem/3.20.1/lib/utils/tmp-cleanup.js
JS
649 B
SRI ready
未分级
0 请求
testem/3.20.1/public/.eslintrc.js
JS
106 B
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/decycle.js
JS
3.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/jasmine_adapter.js
JS
1.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/jasmine2_adapter.js
JS
1.7 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/mocha_adapter.js
JS
3.0 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/qunit_adapter.js
JS
2.3 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/testem_client.js
JS
12.2 KB
SRI ready
未分级
0 请求
testem/3.20.1/public/testem/testem_connection.js
JS
5.6 KB
SRI ready
未分级
0 请求
testem/3.20.1/testem.js
JS
6.0 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。