aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/test/entities/block_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/test/entities/block_test.ts')
-rw-r--r--packages/pipeline/test/entities/block_test.ts23
1 files changed, 0 insertions, 23 deletions
diff --git a/packages/pipeline/test/entities/block_test.ts b/packages/pipeline/test/entities/block_test.ts
deleted file mode 100644
index 503f284f0..000000000
--- a/packages/pipeline/test/entities/block_test.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import 'mocha';
-import 'reflect-metadata';
-
-import { Block } from '../../src/entities';
-import { createDbConnectionOnceAsync } from '../db_setup';
-import { chaiSetup } from '../utils/chai_setup';
-
-import { testSaveAndFindEntityAsync } from './util';
-
-chaiSetup.configure();
-
-// tslint:disable:custom-no-magic-numbers
-describe('Block entity', () => {
- it('save/find', async () => {
- const connection = await createDbConnectionOnceAsync();
- const block = new Block();
- block.hash = '0x12345';
- block.number = 1234567;
- block.timestamp = 5432154321;
- const blocksRepository = connection.getRepository(Block);
- await testSaveAndFindEntityAsync(blocksRepository, block);
- });
-});