mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 16:51:33 +10:00
Firebase Stub refactoring, added eslint-plugin-jest dev dependency
This commit is contained in:
19
__mocks__/gatsby-plugin-firebase/constants/database.js
Normal file
19
__mocks__/gatsby-plugin-firebase/constants/database.js
Normal file
@ -0,0 +1,19 @@
|
||||
const demoStateResume1Id = 'demo_1';
|
||||
const demoStateResume2Id = 'demo_2';
|
||||
const initialStateResumeId = 'initst';
|
||||
|
||||
class Database {
|
||||
static get demoStateResume1Id() {
|
||||
return demoStateResume1Id;
|
||||
}
|
||||
|
||||
static get demoStateResume2Id() {
|
||||
return demoStateResume2Id;
|
||||
}
|
||||
|
||||
static get initialStateResumeId() {
|
||||
return initialStateResumeId;
|
||||
}
|
||||
}
|
||||
|
||||
export default Database;
|
||||
Reference in New Issue
Block a user