mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
9 lines
251 B
JavaScript
9 lines
251 B
JavaScript
import assert from "node:assert";
|
|
|
|
import { getUserAgent } from "./index.js";
|
|
|
|
assert(getUserAgent instanceof Function, "getUserAgent is a function");
|
|
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
|
|
|
|
console.log("ok");
|