diff --git a/packages/@tailwindcss-postcss/src/index.test.ts b/packages/@tailwindcss-postcss/src/index.test.ts index 013457f4b265..4d0ec31d2ecd 100644 --- a/packages/@tailwindcss-postcss/src/index.test.ts +++ b/packages/@tailwindcss-postcss/src/index.test.ts @@ -268,14 +268,14 @@ describe('@content', () => { expect(result.messages).toContainEqual({ type: 'dependency', - file: expect.stringMatching(/other-project\/src\/index.js$/g), + file: expect.stringMatching(/other-project[\\/]src[\\/]index.js$/g), parent: expect.any(String), plugin: '@tailwindcss/postcss', }) expect(result.messages).toContainEqual({ type: 'dir-dependency', - dir: expect.stringMatching(/other-project\/src/), + dir: expect.stringMatching(/other-project[\\/]src/), glob: '**/*.js', parent: expect.any(String), plugin: '@tailwindcss/postcss',