diff --git a/packages/@tailwindcss-node/src/instrumentation.test.ts b/packages/@tailwindcss-node/src/instrumentation.test.ts index b2068d9d6..102c7ed8e 100644 --- a/packages/@tailwindcss-node/src/instrumentation.test.ts +++ b/packages/@tailwindcss-node/src/instrumentation.test.ts @@ -83,7 +83,7 @@ it('should measure async callbacks via the `span` api', async () => { `) let [, duration] = stripVTControlCharacters(output).match(/\[(.*)\]/)! - expect(parseFloat(duration)).toBeGreaterThanOrEqual(500) + expect(parseFloat(duration)).toBeGreaterThanOrEqual(500 - 2 /* Margin of error */) }) })