Skip to content

Commit

Permalink
fix: tests n stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Dec 4, 2022
1 parent 49f6f8f commit c2958c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/check-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: yarn install, lint and build
run: |
cd ./client-vue
cd ./twitch-vod-chat
yarn install --immutable --immutable-cache
yarn buildlib
cd ../client-vue
yarn install --immutable --immutable-cache
yarn lint
yarn test
Expand Down
2 changes: 1 addition & 1 deletion server/tests/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe("Config", () => {
it("setting exists", () => {
expect(Config.settingExists("app_url")).toBe(true);
expect(Config.settingExists("app_url1")).toBe(false);
expect(Config.getSettingField("app_url")).toHaveProperty("key");
expect(Config.getSettingField("app_url")).toHaveProperty("text");
expect(Config.getSettingField("app_url1")).toBeUndefined();
});

Expand Down

0 comments on commit c2958c7

Please sign in to comment.