You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
github-actions: 运行单元测试
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const assert = require('node:assert')
|
||||
|
||||
// const childProcess = require('child_process')
|
||||
// const util = require('util')
|
||||
// const exec = util.promisify(childProcess.exec)
|
||||
@@ -14,3 +16,4 @@
|
||||
let wifiAdaptor = '(151) test'
|
||||
wifiAdaptor = wifiAdaptor.substring(wifiAdaptor.indexOf(' ')).trim()
|
||||
console.log(wifiAdaptor)
|
||||
assert.strictEqual(wifiAdaptor, 'test')
|
||||
|
||||
Reference in New Issue
Block a user