mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +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,4 +1,4 @@
|
||||
import { test, expect } from '@jest/globals'
|
||||
import { test, expect } from 'bun:test'
|
||||
import { isValidEmail, isValidUsername } from '../auth'
|
||||
|
||||
test('check valid username', () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { describe, it, expect } from '@jest/globals'
|
||||
import { describe, it, expect } from 'bun:test'
|
||||
import { buildFileCheckCmd, File } from '../commands'
|
||||
|
||||
describe('buildFileCheckCmd function', () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { describe, it, expect } from '@jest/globals'
|
||||
import { describe, it, expect } from 'bun:test'
|
||||
import DAG from '../dag'
|
||||
|
||||
describe('dag layers', () => {
|
||||
|
||||
Reference in new issue
Block a user