summaryrefslogtreecommitdiff
path: root/packages/astro/test/astro-sync.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/astro-sync.test.js')
-rw-r--r--packages/astro/test/astro-sync.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/test/astro-sync.test.js b/packages/astro/test/astro-sync.test.js
index 5f1fb2d14..ba436fe21 100644
--- a/packages/astro/test/astro-sync.test.js
+++ b/packages/astro/test/astro-sync.test.js
@@ -19,7 +19,7 @@ describe('astro sync', () => {
},
},
};
- await fixture.sync({ fs: fsMock });
+ await fixture.sync({}, { fs: fsMock });
const expectedTypesFile = new URL('.astro/types.d.ts', fixture.config.root).href;
expect(writtenFiles).to.haveOwnProperty(expectedTypesFile);
@@ -55,7 +55,7 @@ describe('astro sync', () => {
},
},
};
- await fixture.sync({ fs: fsMock });
+ await fixture.sync({}, { fs: fsMock });
expect(writtenFiles, 'Did not try to update env.d.ts file.').to.haveOwnProperty(typesEnvPath);
expect(writtenFiles[typesEnvPath]).to.include(`/// <reference path="../.astro/types.d.ts" />`);
@@ -79,7 +79,7 @@ describe('astro sync', () => {
},
},
};
- await fixture.sync({ fs: fsMock });
+ await fixture.sync({}, { fs: fsMock });
expect(writtenFiles, 'Did not try to write env.d.ts file.').to.haveOwnProperty(typesEnvPath);
expect(writtenFiles[typesEnvPath]).to.include(`/// <reference types="astro/client" />`);