mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix jest types by import @jest/globals
This commit is contained in:
1 parent
9e108e397b
commit
b059cca7b2
8 files changed
+10
-2
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { test, expect } from '@jest/globals'
|
||||
import { isValidEmail, isValidUsername } from '../src/auth.js'
|
||||
|
||||
test('check valid username', () => {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { describe, it, expect } from '@jest/globals'
|
||||
import { buildFileCheckCmd, File } from '../src/commands.js'
|
||||
|
||||
describe('buildFileCheckCmd function', () => {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { describe, it, expect } from '@jest/globals'
|
||||
import DAG from '../src/dag.js'
|
||||
|
||||
describe('dag layers', () => {
|
||||
|
||||
Reference in new issue
Block a user