fix smoketest

This commit is contained in:
João Moreno 2021-02-19 16:02:57 +01:00
parent 443be92d9f
commit 2ca2792a65
No known key found for this signature in database
GPG key ID: 896B853774D1A575
2 changed files with 2 additions and 2 deletions

View file

@ -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 () {

View file

@ -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 () {