source: trip-planner-front/node_modules/piscina/test/fixtures/move.ts@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 245 bytes
Line 
1import Piscina from '../..';
2import assert from 'assert';
3import { types } from 'util';
4
5export default function (moved) {
6 if (moved !== undefined) {
7 assert(types.isAnyArrayBuffer(moved));
8 }
9 return Piscina.move(new ArrayBuffer(10));
10}
Note: See TracBrowser for help on using the repository browser.