Skip to content

sjnho/fakeindexeddb-jest-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Repo for fakeindexeddb + jest

My Environment

node: v20.9.0

What's the problem

expect(allList2.length).toEqual(3);

if my code work correct, removeByIndexUpper will remove 2 records.

so the test suite will be passed.

How to reproduce

  yarn jest

Error

If you uncomment the

// this.global.Date = Date;

You will get PASSED.

About

Debug a case for fakeindexeddb + jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published