Skip to content

Commit fe05f65

Browse files
authored
Merge branch 'develop' into feature/validateVariables
2 parents d7f015a + 81b4402 commit fe05f65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+127
-2342
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,7 @@ debug.log
145145
/cypress/reports/mocha/
146146
/cypress/fixtures/get/api/
147147
/.env
148+
ts/**/*.js
149+
ts/**/*.map
150+
cypress/**/*.js
151+
cypress/**/*.map

.idea/dictionaries/m.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/cypress-functions.ts renamed to cypress/cypress-functions.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import repoPath from "app-root-path"
23
import * as cypress from "cypress"
34
import {slackRunner} from "cypress-slack-reporter/bin/slack/slack-alert.js"
@@ -7,17 +8,18 @@ import {merge} from "mochawesome-merge"
78
// @ts-ignore
89
import marge from "mochawesome-report-generator"
910
import * as Q from "q"
11+
// @ts-ignore
1012
import rimraf from "rimraf"
11-
import {loadEnv} from "./env-helper"
12-
import * as fileHelper from "./qm.file-helper"
13+
import {loadEnv} from "../ts/env-helper"
14+
import * as fileHelper from "../ts/qm.file-helper"
1315
// require hack
1416
declare function require(path: string): any
1517
// require untyped library file
1618
// tslint:disable-next-line:no-var-requires
1719
const qm = require("../src/js/qmHelpers.js")
18-
import * as qmGit from "./qm.git"
19-
import * as qmLog from "./qm.log"
20-
import {createSuccessFile, deleteEnvFile, deleteSuccessFile, getBuildLink, getCiProvider} from "./test-helpers"
20+
import * as qmGit from "../ts/qm.git"
21+
import * as qmLog from "../ts/qm.log"
22+
import {createSuccessFile, deleteEnvFile, deleteSuccessFile, getBuildLink, getCiProvider} from "../ts/test-helpers"
2123

2224
// https://github.com/motdotla/dotenv#what-happens-to-environment-variables-that-were-already-set
2325
// loadEnv(".env.local")

ts/cypress-runner.ts renamed to cypress/cypress-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as qmTests from "./cypress-functions"
2-
import {loadEnv} from "./env-helper"
2+
import {loadEnv} from "../ts/env-helper"
33
// loadEnv("local")
44
if(!process.env.ELECTRON_ENABLE_LOGGING) {
55
console.log("set env ELECTRON_ENABLE_LOGGING=\"1\" if you want to log to CI. Disabled by default to avoid leaking secrets on Travis")

cypress/reports/cypress-slack-reporter.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

cypress/tsconfig.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"compilerOptions": {
3+
/* Basic Options */
4+
"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
5+
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6+
"lib": ["es5", "dom"], /* Specify library files to be included in the compilation. */
7+
// "allowJs": true, /* Allow javascript files to be compiled. */
8+
// "checkJs": true, /* Report errors in .js files. */
9+
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
10+
// "declaration": true, /* Generates corresponding '.d.ts' file. */
11+
"sourceMap": true, /* Generates corresponding '.map' file. */
12+
// "outFile": "./", /* Concatenate and emit output to single file. */
13+
//"outDir": "../../dist", /* Redirect output structure to the directory. */
14+
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
15+
// "removeComments": true, /* Do not emit comments to output. */
16+
// "noEmit": true, /* Do not emit outputs. */
17+
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
18+
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
19+
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
20+
21+
/* Strict Type-Checking Options */
22+
"strict": true, /* Enable all strict type-checking options. */
23+
//"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
24+
// "strictNullChecks": true, /* Enable strict null checks. */
25+
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
26+
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
27+
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
28+
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
29+
30+
/* Additional Checks */
31+
// "noUnusedLocals": true, /* Report errors on unused locals. */
32+
// "noUnusedParameters": true, /* Report errors on unused parameters. */
33+
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
34+
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
35+
36+
/* Module Resolution Options */
37+
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
38+
"baseUrl": "../node_modules", /* Base directory to resolve non-absolute module names. */
39+
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
40+
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
41+
// "typeRoots": [], /* List of folders to include type definitions from. */
42+
"types": ["cypress"], /* Type declaration files to be included in compilation. */
43+
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
44+
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
45+
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
46+
47+
/* Source Map Options */
48+
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
49+
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
50+
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
51+
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
52+
53+
/* Experimental Options */
54+
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
55+
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
56+
"skipLibCheck": true,
57+
"newLine": "lf"
58+
},
59+
"include": [
60+
"*.ts",
61+
"**/*.ts"
62+
],
63+
"exclude": [
64+
"node_modules",
65+
"**/*.spec.ts"
66+
]
67+
}

0 commit comments

Comments
 (0)