mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
refactor: replace Jest with bun
This commit is contained in:
1 parent
634dc8f987
commit
54225528b3
21 files changed
+66
-856
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { test, expect } from '@jest/globals'
|
||||
import { it, test, expect } from 'bun:test'
|
||||
import { Condition } from '../condition/Condition'
|
||||
import { OutputMatcher } from '../condition/OutputMatcher'
|
||||
import { PwdMatcher } from '../condition/PwdMatcher'
|
||||
import { CommandMatcher } from '../condition/CommandMatcher'
|
||||
import { ErrorMatcher } from '../condition/ErrorMatcher'
|
||||
import { conditionSchema } from '../schema'
|
||||
import { MockFileChecker } from './asyncCondition.test'
|
||||
import { MockFileChecker } from './mockFileChecker'
|
||||
|
||||
test('command match', () => {
|
||||
const matcher = new CommandMatcher('^echo start$')
|
||||
|
||||
Reference in new issue
Block a user