mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Merge branch 'develop' of github.com:Kong/insomnia into develop
This commit is contained in:
commit
85b4ddceec
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -1,6 +1,14 @@
|
||||
name: Test
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
env:
|
||||
NPM_CONFIG_TARGET: 3.1.13
|
||||
|
@ -2,9 +2,12 @@ import { assertAsyncError, setupDateMocks } from './util';
|
||||
import { MemPlugin } from '../mem-plugin';
|
||||
import path from 'path';
|
||||
import { GIT_CLONE_DIR } from '../git-vcs';
|
||||
import { isWindows } from '../../../common/constants';
|
||||
jest.mock('path');
|
||||
|
||||
describe.each(['win32', 'posix'])('Memlugin using path.%s', type => {
|
||||
const paths = isWindows() ? ['win32'] : ['win32', 'posix'];
|
||||
|
||||
describe.each([paths])('Memlugin using path.%s', type => {
|
||||
beforeAll(() => path.__mockPath(type));
|
||||
afterAll(() => jest.restoreAllMocks());
|
||||
beforeEach(setupDateMocks);
|
||||
|
Loading…
Reference in New Issue
Block a user