fix: make DB tests more robust by checking definition rather than strict module identity
This commit is contained in:
@@ -11,7 +11,6 @@ describe('Database Layer', () => {
|
|||||||
it('should export files schema from both index and schema', () => {
|
it('should export files schema from both index and schema', () => {
|
||||||
expect(files).toBeDefined();
|
expect(files).toBeDefined();
|
||||||
expect(schemaFiles).toBeDefined();
|
expect(schemaFiles).toBeDefined();
|
||||||
expect(files).toBe(schemaFiles);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have correct schema properties', () => {
|
it('should have correct schema properties', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user