mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
14 lines
406 B
JavaScript
14 lines
406 B
JavaScript
const assert = require('assert');
|
|
const util = require('./util');
|
|
const d_storage = require('../lib/helper/d_storage');
|
|
|
|
(async () => {
|
|
await util.par_run([0], [
|
|
// 0
|
|
async () => {
|
|
assert(await d_storage.searchDyid('1234567901234568'));
|
|
assert(!await d_storage.searchDyid('1234567901234569'));
|
|
},
|
|
]);
|
|
console.log('dyidSearch.test ... ok!');
|
|
})(); |