-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix WOTLK_TO_RETAIL_DISPLAY_ID_API (#44)
* fix WOTLK_TO_RETAIL_DISPLAY_ID_API * coverage * remove useless step
- Loading branch information
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,3 @@ jobs: | |
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm test | ||
- run: npm run build --if-present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const {describe, it} = require(`@jest/globals`) | ||
|
||
// Import the module to be tested | ||
import {WH} from '../setup' | ||
|
||
describe(`WH`, () => { | ||
it(`check consts`, async () => { | ||
expect(window.WOTLK_TO_RETAIL_DISPLAY_ID_API).toEqual(`https://wotlk.murlocvillage.com/api/items`) | ||
expect(window.CONTENT_PATH).toEqual(`http://localhost:3001/modelviewer/live/`) | ||
}) | ||
it(`check consts WH.debug`, async () => { | ||
WH.debug(`Hello`, `world`) | ||
}) | ||
}) |