Created
February 17, 2023 06:11
-
-
Save rjpkuyper/78b7e9a774c84e31c99348590bb482e9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import { createUrl, Paths } from './get-env-vars' | |
describe("GetEnvVars", () => { | |
test('should create a new url', () => { | |
const url = 'https://example.com' | |
expect(createUrl(Paths.PRODUCTS, url)).toEqual(`${url}/${Paths.PRODUCTS}`); | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment