-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from alpsla/analysis_pipeline
completed Analysis Pipeline
- Loading branch information
Showing
44 changed files
with
5,112 additions
and
2,093 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var globals_1 = require("@jest/globals"); | ||
(0, globals_1.describe)('Sample Test', function () { | ||
(0, globals_1.it)('should pass', function () { | ||
(0, globals_1.expect)(true).toBe(true); | ||
}); | ||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Mock jose module | ||
module.exports = { | ||
decodeJwt: jest.fn(), | ||
SignJWT: jest.fn(), | ||
jwtVerify: jest.fn(), | ||
createRemoteJWKSet: jest.fn() | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const renderToString = jest.fn().mockImplementation((component) => 'mock-rendered-string'); | ||
const render = jest.fn().mockImplementation((component) => 'mock-rendered-string'); | ||
const shallowRender = jest.fn().mockImplementation((component) => 'mock-rendered-string'); | ||
|
||
module.exports = { | ||
renderToString, | ||
render, | ||
shallowRender, | ||
default: render, | ||
__esModule: true | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
const h = jest.fn((type, props, ...children) => ({ | ||
type, | ||
props: { ...props, children: children.length ? children : undefined } | ||
})); | ||
|
||
const Fragment = Symbol.for('preact.Fragment'); | ||
const Component = class {}; | ||
const createContext = jest.fn(() => ({ | ||
Provider: jest.fn(), | ||
Consumer: jest.fn() | ||
})); | ||
const createRef = jest.fn(() => ({ current: null })); | ||
const render = jest.fn(); | ||
const hydrate = jest.fn(); | ||
const isValidElement = jest.fn(() => true); | ||
const cloneElement = jest.fn((element) => ({ ...element })); | ||
const toChildArray = jest.fn((children) => [].concat(children).filter(Boolean)); | ||
const options = {}; | ||
|
||
module.exports = { | ||
h, | ||
Fragment, | ||
Component, | ||
createContext, | ||
createElement: h, | ||
createRef, | ||
hydrate, | ||
isValidElement, | ||
options, | ||
render, | ||
toChildArray, | ||
cloneElement, | ||
__esModule: true | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
presets: [ | ||
['@babel/preset-env', { | ||
targets: { node: 'current' }, | ||
modules: 'commonjs' | ||
}], | ||
'@babel/preset-typescript', | ||
], | ||
plugins: [ | ||
['@babel/plugin-transform-runtime', { | ||
corejs: { version: 3, proposals: true }, | ||
helpers: true, | ||
regenerator: true, | ||
useESModules: false, | ||
version: '^7.26.0' | ||
}], | ||
], | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.