merging with react branch
This commit is contained in:
commit
bfedc907bb
19 files changed
+2498
-983
No files matched your search
@@ -0,0 +1,3 @@
|
||||
// https://jestjs.io/docs/en/webpack#handling-static-assets
|
||||
|
||||
module.exports = 'test-file-stub'
|
||||
@@ -0,0 +1,9 @@
|
||||
const _ = require('lodash')
|
||||
const originalConsoleError = console.error
|
||||
|
||||
// JSDom's CSS Parser has limited support for certain features
|
||||
// This supresses error warnings caused by it
|
||||
console.error = function(msg) {
|
||||
if (_.startsWith(msg, 'Error: Could not parse CSS stylesheet')) return
|
||||
originalConsoleError(msg)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
describe('Sanity Test', () => {
|
||||
test('how many marbles?', () => {
|
||||
const expectedMarbles = 4
|
||||
const actualMarbles = 2 + 2
|
||||
|
||||
expect(actualMarbles).toEqual(expectedMarbles)
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user