Skip to content

Commit 0efd85e

Browse files
committed
temporary for windows tests
1 parent 6067a48 commit 0efd85e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/missing.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('missing (fetch-only mock)', () => {
4040
projectId: 'pid',
4141
version: 'v1',
4242
path: tempDir,
43-
pathMask: '{{language}}/{{namespace}}',
43+
pathMask: ['{{language}}', '{{namespace}}'].join(path.sep),
4444
pathMaskInterpolationPrefix: '{{',
4545
pathMaskInterpolationSuffix: '}}'
4646
}

test/parseLocalLanguage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('parseLocalLanguage (temp dir)', () => {
3939
it('parses a local language directory and returns expected structure', async () => {
4040
const opt = {
4141
path: tempDir,
42-
pathMask: '{{language}}/{{namespace}}',
42+
pathMask: ['{{language}}', '{{namespace}}'].join(path.sep),
4343
pathMaskInterpolationPrefix: '{{',
4444
pathMaskInterpolationSuffix: '}}',
4545
format: 'json'

test/parseLocalLanguages.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('parseLocalLanguages (temp dir)', () => {
4343
it('parses multiple local languages and returns expected structure', async () => {
4444
const opt = {
4545
path: tempDir,
46-
pathMask: '{{language}}/{{namespace}}',
46+
pathMask: ['{{language}}', '{{namespace}}'].join(path.sep),
4747
pathMaskInterpolationPrefix: '{{',
4848
pathMaskInterpolationSuffix: '}}',
4949
format: 'json'

test/parseLocalReference.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('parseLocalReference (temp dir)', () => {
3838
it('parses a local reference language and returns expected structure', async () => {
3939
const opt = {
4040
path: tempDir,
41-
pathMask: '{{language}}/{{namespace}}',
41+
pathMask: ['{{language}}', '{{namespace}}'].join(path.sep),
4242
pathMaskInterpolationPrefix: '{{',
4343
pathMaskInterpolationSuffix: '}}',
4444
format: 'json',

0 commit comments

Comments
 (0)