Skip to content

Commit f6e181d

Browse files
committed
test: fix failing tests in ci/cd pipeline
1 parent 42c6828 commit f6e181d

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches-ignore:
55
- master
6-
pull_request:
7-
branches:
8-
- master
96
jobs:
107
build:
118
runs-on: ubuntu-16.04
@@ -15,9 +12,7 @@ jobs:
1512
name: Node ${{ matrix.node }}
1613
steps:
1714
- name: GIT - checkout
18-
uses: actions/checkout@v1
19-
with:
20-
ref: master
15+
uses: actions/checkout@v2
2116

2217
- name: GIT - prepare
2318
run: |

packages/core/__tests__/__snapshots__/core.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Object {
9898
"getCommands": [Function],
9999
"runCommand": [Function],
100100
},
101-
"root": StringContaining "lesy/packages/core/__tests__",
101+
"root": StringContaining "/packages/core/__tests__",
102102
"runningCommand": null,
103103
"unknownArgs": Array [],
104104
"unknownFlags": Array [],

packages/core/__tests__/core.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe("Core", () => {
128128
it("should get complete state", () => {
129129
core["state"].allCommands[3].src = "__DUMMY_SRC__";
130130
expect(core["state"]).toMatchSnapshot({
131-
root: expect.stringContaining("lesy/packages/core/__tests__"),
131+
root: expect.stringContaining("/packages/core/__tests__"),
132132
});
133133
});
134134
it("should call init middleware", () => {

0 commit comments

Comments
 (0)