diff --git a/test/smoke/src/areas/notebook/notebook.test.ts b/test/smoke/src/areas/notebook/notebook.test.ts index 1d70ee93a89..e8dae86262b 100644 --- a/test/smoke/src/areas/notebook/notebook.test.ts +++ b/test/smoke/src/areas/notebook/notebook.test.ts @@ -16,7 +16,7 @@ export function setup() { after(async function () { const app = this.app as Application; cp.execSync('git checkout . --quiet', { cwd: app.workspacePathOrFolder }); - cp.execSync('git reset --hard origin/master --quiet', { cwd: app.workspacePathOrFolder }); + cp.execSync('git reset --hard HEAD --quiet', { cwd: app.workspacePathOrFolder }); }); afterEach(async function () { diff --git a/test/smoke/src/areas/search/search.test.ts b/test/smoke/src/areas/search/search.test.ts index 15257e6bfdb..77bcc40efb4 100644 --- a/test/smoke/src/areas/search/search.test.ts +++ b/test/smoke/src/areas/search/search.test.ts @@ -11,7 +11,7 @@ export function setup() { after(function () { const app = this.app as Application; cp.execSync('git checkout . --quiet', { cwd: app.workspacePathOrFolder }); - cp.execSync('git reset --hard origin/master --quiet', { cwd: app.workspacePathOrFolder }); + cp.execSync('git reset --hard HEAD --quiet', { cwd: app.workspacePathOrFolder }); }); it('searches for body & checks for correct result number', async function () {