Skip to content

Commit

Permalink
chore: run test pipeline on pull_request instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Jun 3, 2022
1 parent e7d73af commit b260553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Test

on:
push:
branches-ignore:
- 'main'
- 'rc-*'
pull_request:

jobs:
test:
Expand Down
2 changes: 0 additions & 2 deletions packages/svelte/src/lib/getTranslate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ describe('getTranslate', () => {
expect(tolgeeMock.instantMock).toHaveBeenCalledWith({
...restTProps,
params: parameters,
orEmpty: true,
});
});

Expand Down Expand Up @@ -159,7 +158,6 @@ describe('getTranslate', () => {
expect(tolgeeMock.translateMock).toHaveBeenCalledWith(tProps);
expect(tolgeeMock.instantMock).toHaveBeenCalledWith({
...tProps,
orEmpty: true,
});
});
});

0 comments on commit b260553

Please sign in to comment.