This repository was archived by the owner on Jun 22, 2021. It is now read-only.
File tree 10 files changed +5
-58
lines changed
10 files changed +5
-58
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ The functions have some common options that they use.
23
23
24
24
The [ facade in this package is a TypeScript interface] ( ../src/Facade.ts ) , but concrete implementations of the interface are listed below.
25
25
26
- - [ Memory] ( https://github.com/js-entity-repos/memory ) - Coming Soon
26
+ - [ Memory] ( https://github.com/js-entity-repos/memory )
27
27
- [ Mongo] ( https://github.com/js-entity-repos/mongo ) - Coming Soon
28
28
- [ Knex] ( https://github.com/js-entity-repos/knex ) - Coming Soon
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import removeEntityTest from './removeEntity/test';
11
11
import upsertEntityTest from './upsertEntity/test' ;
12
12
import { TestEntity , TestId } from './utils/testEntity' ;
13
13
14
- export const facadeTest = ( facade : Facade < TestId , TestEntity > ) => {
14
+ export default ( facade : Facade < TestId , TestEntity > ) => {
15
15
describe ( 'facade' , ( ) => {
16
16
beforeEach ( async ( ) => {
17
17
await facade . removeEntities ( { filter : { } } ) ;
Original file line number Diff line number Diff line change 1
1
import 'mocha' ; // tslint:disable-line:no-import-side-effect
2
2
import * as assert from 'power-assert' ;
3
3
import { TestEntity , testEntity } from '../../tests/utils/testEntity' ;
4
- import createCursorFromEntity from './createCursorFromEntity ' ;
4
+ import createCursorFromEntity from './index ' ;
5
5
6
6
describe ( 'createCursorFromEntity' , ( ) => {
7
7
it ( 'should return undefined when the entity is undefined' , ( ) => {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import 'mocha'; // tslint:disable-line:no-import-side-effect
2
2
import * as assert from 'power-assert' ;
3
3
import { TestEntity , testEntity } from '../../tests/utils/testEntity' ;
4
4
import Pagination from '../../types/Pagination' ;
5
- import createCursorFromEntity from '../createCursorFromEntity/createCursorFromEntity ' ;
6
- import createPaginationFilter from './createPaginationFilter ' ;
5
+ import createCursorFromEntity from '../createCursorFromEntity' ;
6
+ import createPaginationFilter from './index ' ;
7
7
8
8
describe ( 'createCursorFromEntity' , ( ) => {
9
9
const sort = { id : true } ;
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments