Skip to content

Commit

Permalink
Lint cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Nov 8, 2021
1 parent 59ffbc3 commit c82cea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/functions/test/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ test('@gltf-transform/functions::utils | getGLPrimitiveCount', async (t) => {

test('@gltf-transform/functions::utils | transform pipeline', async (t) => {
const doc = new Document();
const first = createTransform('first', (doc: Document, context?: TransformContext) => {
const first = createTransform('first', (_: Document, context?: TransformContext) => {
if (!isTransformPending(context, 'first', 'second')) {
throw new Error('Out of order!');
}
});
const second: Transform = (doc: Document, context?: TransformContext) => {};
const second: Transform = (_: Document) => undefined;

t.ok(doc.transform(first, second), '[a, b] OK');

Expand Down

0 comments on commit c82cea6

Please sign in to comment.