Added L0 tests and fixed some minor issues. (#20)
This commit is contained in:
parent
d315e938e1
commit
e77e49c8f8
20
.github/workflows/test.yml
vendored
Normal file
20
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: "build-test"
|
||||||
|
on: # rebuild any PRs and main branch changes
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- 'releases/*'
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- 'releases/*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build: # make sure build/ci works properly
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- run: |
|
||||||
|
npm install
|
||||||
|
npm build
|
||||||
|
npm test
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -59,3 +59,6 @@ typings/
|
|||||||
|
|
||||||
# next.js build output
|
# next.js build output
|
||||||
.next
|
.next
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
coverage
|
||||||
|
195
__tests__/run.test.ts
Normal file
195
__tests__/run.test.ts
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
import * as run from '../src/run'
|
||||||
|
import * as os from 'os';
|
||||||
|
import * as toolCache from '@actions/tool-cache';
|
||||||
|
import * as fs from 'fs';
|
||||||
|
import * as path from 'path';
|
||||||
|
import * as core from '@actions/core';
|
||||||
|
|
||||||
|
describe('run.ts', () => {
|
||||||
|
test('getExecutableExtension() - return .exe when os is Windows', () => {
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
|
||||||
|
expect(run.getExecutableExtension()).toBe('.exe');
|
||||||
|
expect(os.type).toBeCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getExecutableExtension() - return empty string for non-windows OS', () => {
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Darwin');
|
||||||
|
|
||||||
|
expect(run.getExecutableExtension()).toBe('');
|
||||||
|
expect(os.type).toBeCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getHelmDownloadURL() - return the URL to download helm for Linux', () => {
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Linux');
|
||||||
|
const kubectlLinuxUrl = 'https://get.helm.sh/helm-v3.2.1-linux-amd64.zip'
|
||||||
|
|
||||||
|
expect(run.getHelmDownloadURL('v3.2.1')).toBe(kubectlLinuxUrl);
|
||||||
|
expect(os.type).toBeCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getHelmDownloadURL() - return the URL to download helm for Darwin', () => {
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Darwin');
|
||||||
|
const kubectlDarwinUrl = 'https://get.helm.sh/helm-v3.2.1-darwin-amd64.zip'
|
||||||
|
|
||||||
|
expect(run.getHelmDownloadURL('v3.2.1')).toBe(kubectlDarwinUrl);
|
||||||
|
expect(os.type).toBeCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getHelmDownloadURL() - return the URL to download helm for Windows', () => {
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
|
||||||
|
const kubectlWindowsUrl = 'https://get.helm.sh/helm-v3.2.1-windows-amd64.zip'
|
||||||
|
expect(run.getHelmDownloadURL('v3.2.1')).toBe(kubectlWindowsUrl);
|
||||||
|
expect(os.type).toBeCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getStableHelmVersion() - download stable version file, read version and return it', async () => {
|
||||||
|
jest.spyOn(toolCache, 'downloadTool').mockResolvedValue('pathToTool');
|
||||||
|
const response = JSON.stringify(
|
||||||
|
[
|
||||||
|
{
|
||||||
|
'tag_name': 'v4.0.0'
|
||||||
|
}, {
|
||||||
|
'tag_name': 'v3.0.0'
|
||||||
|
}, {
|
||||||
|
'tag_name': 'v2.0.0'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
);
|
||||||
|
jest.spyOn(fs, 'readFileSync').mockReturnValue(response);
|
||||||
|
|
||||||
|
expect(await run.getStableHelmVersion()).toBe('v4.0.0');
|
||||||
|
expect(toolCache.downloadTool).toBeCalled();
|
||||||
|
expect(fs.readFileSync).toBeCalledWith('pathToTool', 'utf8');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('getStableHelmVersion() - return default version if error occurs while getting latest version', async () => {
|
||||||
|
jest.spyOn(toolCache, 'downloadTool').mockRejectedValue('Unable to download');
|
||||||
|
jest.spyOn(core, 'warning').mockImplementation();
|
||||||
|
|
||||||
|
expect(await run.getStableHelmVersion()).toBe('v3.2.1');
|
||||||
|
expect(toolCache.downloadTool).toBeCalled();
|
||||||
|
expect(core.warning).toBeCalledWith("Cannot get the latest Helm info from https://api.github.com/repos/helm/helm/releases. Error Unable to download. Using default Helm version v3.2.1.");
|
||||||
|
});
|
||||||
|
|
||||||
|
test('walkSync() - return path to the all files matching fileToFind in dir', () => {
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => {
|
||||||
|
if (file == 'mainFolder') return ['file1' as unknown as fs.Dirent, 'file2' as unknown as fs.Dirent, 'folder1' as unknown as fs.Dirent, 'folder2' as unknown as fs.Dirent];
|
||||||
|
if (file == path.join('mainFolder', 'folder1')) return ['file11' as unknown as fs.Dirent, 'file12' as unknown as fs.Dirent];
|
||||||
|
if (file == path.join('mainFolder', 'folder2')) return ['file21' as unknown as fs.Dirent, 'file22' as unknown as fs.Dirent];
|
||||||
|
});
|
||||||
|
jest.spyOn(core, 'debug').mockImplementation();
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => {
|
||||||
|
const isDirectory = (file as string).toLowerCase().indexOf('file') == -1 ? true: false
|
||||||
|
return { isDirectory: () => isDirectory } as fs.Stats;
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(run.walkSync('mainFolder', null, 'file21')).toEqual([path.join('mainFolder', 'folder2', 'file21')]);
|
||||||
|
expect(fs.readdirSync).toBeCalledTimes(3);
|
||||||
|
expect(fs.statSync).toBeCalledTimes(8);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('walkSync() - return empty array if no file with name fileToFind exists', () => {
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => {
|
||||||
|
if (file == 'mainFolder') return ['file1' as unknown as fs.Dirent, 'file2' as unknown as fs.Dirent, 'folder1' as unknown as fs.Dirent, 'folder2' as unknown as fs.Dirent];
|
||||||
|
if (file == path.join('mainFolder', 'folder1')) return ['file11' as unknown as fs.Dirent, 'file12' as unknown as fs.Dirent];
|
||||||
|
if (file == path.join('mainFolder', 'folder2')) return ['file21' as unknown as fs.Dirent, 'file22' as unknown as fs.Dirent];
|
||||||
|
});
|
||||||
|
jest.spyOn(core, 'debug').mockImplementation();
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => {
|
||||||
|
const isDirectory = (file as string).toLowerCase().indexOf('file') == -1 ? true: false
|
||||||
|
return { isDirectory: () => isDirectory } as fs.Stats;
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(run.walkSync('mainFolder', null, 'helm.exe')).toEqual([]);
|
||||||
|
expect(fs.readdirSync).toBeCalledTimes(3);
|
||||||
|
expect(fs.statSync).toBeCalledTimes(8);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('findHelm() - change access permissions and find the helm in given directory', () => {
|
||||||
|
jest.spyOn(fs, 'chmodSync').mockImplementation(() => {});
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => {
|
||||||
|
if (file == 'mainFolder') return ['helm.exe' as unknown as fs.Dirent];
|
||||||
|
});
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => {
|
||||||
|
const isDirectory = (file as string).indexOf('folder') == -1 ? false: true
|
||||||
|
return { isDirectory: () => isDirectory } as fs.Stats;
|
||||||
|
});
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
|
||||||
|
expect(run.findHelm('mainFolder')).toBe(path.join('mainFolder', 'helm.exe'));
|
||||||
|
});
|
||||||
|
|
||||||
|
test('findHelm() - throw error if executable not found', () => {
|
||||||
|
jest.spyOn(fs, 'chmodSync').mockImplementation(() => {});
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => {
|
||||||
|
if (file == 'mainFolder') return [];
|
||||||
|
});
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => { return { isDirectory: () => true } as fs.Stats});
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
expect(() => run.findHelm('mainFolder')).toThrow('Helm executable not found in path mainFolder');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('downloadHelm() - download helm and return path to it', async () => {
|
||||||
|
jest.spyOn(toolCache, 'find').mockReturnValue('');
|
||||||
|
jest.spyOn(toolCache, 'downloadTool').mockResolvedValue('pathToTool');
|
||||||
|
const response = JSON.stringify([{'tag_name': 'v4.0.0'}]);
|
||||||
|
jest.spyOn(fs, 'readFileSync').mockReturnValue(response);
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
jest.spyOn(fs, 'chmodSync').mockImplementation(() => {});
|
||||||
|
jest.spyOn(toolCache, 'extractZip').mockResolvedValue('pathToUnzippedHelm');
|
||||||
|
jest.spyOn(toolCache, 'cacheDir').mockResolvedValue('pathToCachedDir');
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => ['helm.exe' as unknown as fs.Dirent]);
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => {
|
||||||
|
const isDirectory = (file as string).indexOf('folder') == -1 ? false: true
|
||||||
|
return { isDirectory: () => isDirectory } as fs.Stats;
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(await run.downloadHelm(null)).toBe(path.join('pathToCachedDir', 'helm.exe'));
|
||||||
|
expect(toolCache.find).toBeCalledWith('helm', 'v4.0.0');
|
||||||
|
expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v4.0.0-windows-amd64.zip');
|
||||||
|
expect(fs.chmodSync).toBeCalledWith('pathToTool', '777');
|
||||||
|
expect(toolCache.extractZip).toBeCalledWith('pathToTool');
|
||||||
|
expect(fs.chmodSync).toBeCalledWith(path.join('pathToCachedDir', 'helm.exe'), '777');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('downloadHelm() - throw error if unable to download', async () => {
|
||||||
|
jest.spyOn(toolCache, 'find').mockReturnValue('');
|
||||||
|
jest.spyOn(toolCache, 'downloadTool').mockImplementation(async () => { throw 'Unable to download'});
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
|
||||||
|
await expect(run.downloadHelm('v3.2.1')).rejects.toThrow('Failed to download Helm from location https://get.helm.sh/helm-v3.2.1-windows-amd64.zip');
|
||||||
|
expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1');
|
||||||
|
expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v3.2.1-windows-amd64.zip');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('downloadHelm() - return path to helm tool with same version from toolCache', async () => {
|
||||||
|
jest.spyOn(toolCache, 'find').mockReturnValue('pathToCachedDir');
|
||||||
|
jest.spyOn(fs, 'chmodSync').mockImplementation(() => {});
|
||||||
|
|
||||||
|
expect(await run.downloadHelm('v3.2.1')).toBe(path.join('pathToCachedDir', 'helm.exe'));
|
||||||
|
expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1');
|
||||||
|
expect(fs.chmodSync).toBeCalledWith(path.join('pathToCachedDir', 'helm.exe'), '777');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('downloadHelm() - throw error is helm is not found in path', async () => {
|
||||||
|
jest.spyOn(toolCache, 'find').mockReturnValue('');
|
||||||
|
jest.spyOn(toolCache, 'downloadTool').mockResolvedValue('pathToTool');
|
||||||
|
jest.spyOn(os, 'type').mockReturnValue('Windows_NT');
|
||||||
|
jest.spyOn(fs, 'chmodSync').mockImplementation();
|
||||||
|
jest.spyOn(toolCache, 'extractZip').mockResolvedValue('pathToUnzippedHelm');
|
||||||
|
jest.spyOn(toolCache, 'cacheDir').mockResolvedValue('pathToCachedDir');
|
||||||
|
jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => []);
|
||||||
|
jest.spyOn(fs, 'statSync').mockImplementation((file) => {
|
||||||
|
const isDirectory = (file as string).indexOf('folder') == -1 ? false: true
|
||||||
|
return { isDirectory: () => isDirectory } as fs.Stats;
|
||||||
|
});
|
||||||
|
|
||||||
|
await expect(run.downloadHelm('v3.2.1')).rejects.toThrow('Helm executable not found in path pathToCachedDir');
|
||||||
|
expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1');
|
||||||
|
expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v3.2.1-windows-amd64.zip');
|
||||||
|
expect(fs.chmodSync).toBeCalledWith('pathToTool', '777');
|
||||||
|
expect(toolCache.extractZip).toBeCalledWith('pathToTool');
|
||||||
|
});
|
||||||
|
});
|
18
jest.config.js
Normal file
18
jest.config.js
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
module.exports = {
|
||||||
|
clearMocks: true,
|
||||||
|
moduleFileExtensions: ['js', 'ts'],
|
||||||
|
testEnvironment: 'node',
|
||||||
|
testMatch: ['**/*.test.ts'],
|
||||||
|
transform: {
|
||||||
|
'^.+\\.ts$': 'ts-jest'
|
||||||
|
},
|
||||||
|
verbose: true,
|
||||||
|
coverageThreshold: {
|
||||||
|
"global": {
|
||||||
|
"branches": 0,
|
||||||
|
"functions": 14,
|
||||||
|
"lines": 27,
|
||||||
|
"statements": 27
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
6087
package-lock.json
generated
6087
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,10 +15,14 @@
|
|||||||
"main": "lib/run.js",
|
"main": "lib/run.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "jest",
|
||||||
|
"test-coverage": "jest --coverage"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^12.0.10",
|
"@types/node": "^12.0.10",
|
||||||
"typescript": "^3.5.2"
|
"typescript": "^3.5.2",
|
||||||
|
"jest": "^26.0.1",
|
||||||
|
"@types/jest": "^25.2.2",
|
||||||
|
"ts-jest": "^25.5.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
22
src/run.ts
22
src/run.ts
@ -14,14 +14,14 @@ const helmToolName = 'helm';
|
|||||||
const stableHelmVersion = 'v3.2.1';
|
const stableHelmVersion = 'v3.2.1';
|
||||||
const helmAllReleasesUrl = 'https://api.github.com/repos/helm/helm/releases';
|
const helmAllReleasesUrl = 'https://api.github.com/repos/helm/helm/releases';
|
||||||
|
|
||||||
function getExecutableExtension(): string {
|
export function getExecutableExtension(): string {
|
||||||
if (os.type().match(/^Win/)) {
|
if (os.type().match(/^Win/)) {
|
||||||
return '.exe';
|
return '.exe';
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getHelmDownloadURL(version: string): string {
|
export function getHelmDownloadURL(version: string): string {
|
||||||
switch (os.type()) {
|
switch (os.type()) {
|
||||||
case 'Linux':
|
case 'Linux':
|
||||||
return util.format('https://get.helm.sh/helm-%s-linux-amd64.zip', version);
|
return util.format('https://get.helm.sh/helm-%s-linux-amd64.zip', version);
|
||||||
@ -36,7 +36,7 @@ function getHelmDownloadURL(version: string): string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getStableHelmVersion(): Promise<string> {
|
export async function getStableHelmVersion(): Promise<string> {
|
||||||
try {
|
try {
|
||||||
const downloadPath = await toolCache.downloadTool(helmAllReleasesUrl);
|
const downloadPath = await toolCache.downloadTool(helmAllReleasesUrl);
|
||||||
const responseArray = JSON.parse(fs.readFileSync(downloadPath, 'utf8').toString().trim());
|
const responseArray = JSON.parse(fs.readFileSync(downloadPath, 'utf8').toString().trim());
|
||||||
@ -62,7 +62,7 @@ async function getStableHelmVersion(): Promise<string> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var walkSync = function (dir, filelist, fileToFind) {
|
export var walkSync = function (dir, filelist, fileToFind) {
|
||||||
var files = fs.readdirSync(dir);
|
var files = fs.readdirSync(dir);
|
||||||
filelist = filelist || [];
|
filelist = filelist || [];
|
||||||
files.forEach(function (file) {
|
files.forEach(function (file) {
|
||||||
@ -79,7 +79,7 @@ var walkSync = function (dir, filelist, fileToFind) {
|
|||||||
return filelist;
|
return filelist;
|
||||||
};
|
};
|
||||||
|
|
||||||
async function downloadHelm(version: string): Promise<string> {
|
export async function downloadHelm(version: string): Promise<string> {
|
||||||
if (!version) { version = await getStableHelmVersion(); }
|
if (!version) { version = await getStableHelmVersion(); }
|
||||||
let cachedToolpath = toolCache.find(helmToolName, version);
|
let cachedToolpath = toolCache.find(helmToolName, version);
|
||||||
if (!cachedToolpath) {
|
if (!cachedToolpath) {
|
||||||
@ -87,7 +87,7 @@ async function downloadHelm(version: string): Promise<string> {
|
|||||||
try {
|
try {
|
||||||
helmDownloadPath = await toolCache.downloadTool(getHelmDownloadURL(version));
|
helmDownloadPath = await toolCache.downloadTool(getHelmDownloadURL(version));
|
||||||
} catch (exception) {
|
} catch (exception) {
|
||||||
throw new Error(util.format("Failed to download Helm from location ", getHelmDownloadURL(version)));
|
throw new Error(util.format("Failed to download Helm from location", getHelmDownloadURL(version)));
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.chmodSync(helmDownloadPath, '777');
|
fs.chmodSync(helmDownloadPath, '777');
|
||||||
@ -97,26 +97,26 @@ async function downloadHelm(version: string): Promise<string> {
|
|||||||
|
|
||||||
const helmpath = findHelm(cachedToolpath);
|
const helmpath = findHelm(cachedToolpath);
|
||||||
if (!helmpath) {
|
if (!helmpath) {
|
||||||
throw new Error(util.format("Helm executable not found in path ", cachedToolpath));
|
throw new Error(util.format("Helm executable not found in path", cachedToolpath));
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.chmodSync(helmpath, '777');
|
fs.chmodSync(helmpath, '777');
|
||||||
return helmpath;
|
return helmpath;
|
||||||
}
|
}
|
||||||
|
|
||||||
function findHelm(rootFolder: string): string {
|
export function findHelm(rootFolder: string): string {
|
||||||
fs.chmodSync(rootFolder, '777');
|
fs.chmodSync(rootFolder, '777');
|
||||||
var filelist: string[] = [];
|
var filelist: string[] = [];
|
||||||
walkSync(rootFolder, filelist, helmToolName + getExecutableExtension());
|
walkSync(rootFolder, filelist, helmToolName + getExecutableExtension());
|
||||||
if (!filelist) {
|
if (!filelist || filelist.length == 0) {
|
||||||
throw new Error(util.format("Helm executable not found in path ", rootFolder));
|
throw new Error(util.format("Helm executable not found in path", rootFolder));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return filelist[0];
|
return filelist[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function run() {
|
export async function run() {
|
||||||
let version = core.getInput('version', { 'required': true });
|
let version = core.getInput('version', { 'required': true });
|
||||||
if (version.toLocaleLowerCase() === 'latest') {
|
if (version.toLocaleLowerCase() === 'latest') {
|
||||||
version = await getStableHelmVersion();
|
version = await getStableHelmVersion();
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
// "typeRoots": [], /* List of folders to include type definitions from. */
|
// "typeRoots": [], /* List of folders to include type definitions from. */
|
||||||
// "types": [], /* Type declaration files to be included in compilation. */
|
// "types": [], /* Type declaration files to be included in compilation. */
|
||||||
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
||||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
// "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
||||||
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
||||||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user