mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
chore: upgrade ts-results-es (#322)
This commit is contained in:
@@ -8,7 +8,6 @@ describe('module-loading', () => {
|
||||
const filename = Files.fmtFileName(name+'.'+extension);
|
||||
expect(filename).toBe(name)
|
||||
})
|
||||
|
||||
|
||||
// todo: handle commands with multiple extensions
|
||||
// it('should properly extract filename from file, nested multiple', () => {
|
||||
|
||||
@@ -18,7 +18,7 @@ function createRandomCommandModules() {
|
||||
CommandType.Button,
|
||||
];
|
||||
return commandModule({
|
||||
type: randomCommandType[Math.floor(Math.random() * randomCommandType.length)],
|
||||
type: faker.helpers.uniqueArray(randomCommandType, 1)[0],
|
||||
description: faker.string.alpha(),
|
||||
name: faker.string.alpha(),
|
||||
execute: () => {},
|
||||
|
||||
Reference in New Issue
Block a user