source: trip-planner-front/node_modules/piscina/test/fixtures/move.ts@ 6fe77af

Last change on this file since 6fe77af 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.