refactor: remove condition tests and update file node interfaces in game session

TODO: replace "folder" with "directory"
This commit is contained in:
Justin Lin committed 2025-04-24 18:10:47 +08:00
1 parent 0685d71299
commit 7e50c8e06c
6 files changed
+46 -46

No files matched your search

@@ -1,13 +0,0 @@
import { describe, it, expect } from '@jest/globals'
import { conditionSchema } from '../src/index.js'
describe('parsing condition', () => {
it('should parse condition', () => {
const condition = {
command: ['^echo start$'],
output: ['^start$'],
}
const result = conditionSchema.safeParse(condition)
expect(result.error).toBeUndefined()
})
})