Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
const generateTests = require('tests');
generateTests(getTankerVersion(), Tanker, generateUserToken);
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
import generateTests from 'tests';
generateTests({
version: getTankerVersion(),
Tanker,
generateUserToken,
tests: ['encrypt', 'group', 'unlock']
});
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
const generateTests = require('tests');
generateTests(getTankerVersion(), Tanker, generateUserToken);
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
const generateTests = require('tests');
generateTests(getTankerVersion(), Tanker, generateUserToken);
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
import adapter from '@tanker/datastore-pouchdb-memory';
import { generateV1Tests } from 'tests';
generateV1Tests({
version: getTankerVersion(),
Tanker,
generateUserToken,
tests: ['encrypt', 'group', 'unlock', 'revocationV1'],
adapter,
});
// @flow
import { getTankerVersion, Tanker } from '@tanker/client-node';
import { generateUserToken } from '@tanker/user-token';
const generateTests = require('tests');
generateTests(getTankerVersion(), Tanker, generateUserToken);