mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(cli): add disable analytics option (#496)
This commit is contained in:
@@ -213,6 +213,18 @@ describe("Programmatic API - Fast Tests", () => {
|
||||
addons: ["biome"],
|
||||
});
|
||||
}, 15000);
|
||||
|
||||
test("creates project with analytics disabled", async () => {
|
||||
const result = await init("no-analytics-app", {
|
||||
yes: true,
|
||||
disableAnalytics: true,
|
||||
install: false,
|
||||
git: false,
|
||||
});
|
||||
|
||||
expect(result.success).toBe(true);
|
||||
expect(result.projectConfig.projectName).toBe("no-analytics-app");
|
||||
}, 15000);
|
||||
});
|
||||
|
||||
describe("Error scenarios", () => {
|
||||
|
||||
Reference in New Issue
Block a user