UNPKG
@abetomo/spreadsearch
Version:
latest (2.0.3)
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.0.2
0.0.1
Search Google Spreadsheet data using Groonga.
github.com/abetomo/spreadsearch
abetomo/spreadsearch
@abetomo/spreadsearch
/
__mocks__
/
ss2json.js
17 lines
(13 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* global jest */
'use strict'
const
Ss2
json = jest.
genMockFromModule
(
'ss2json'
)
Ss2
json.
prototype
.
convert
=
(
params
) =>
{
return
Promise
.
resolve
([{
key1
:
'value1'
,
key2
:
'value2'
}, {
key1
:
'value3'
,
key2
:
'value4'
}]) }
module
.
exports
=
Ss2
json