merging with react branch

This commit is contained in:
biharck committed 2019-04-26 22:34:57 -03:00
commit bfedc907bb
19 files changed
+2498 -983

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
// https://jestjs.io/docs/en/webpack#handling-static-assets
module.exports = 'test-file-stub'
+9
View File
@@ -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)
}
+8
View File
@@ -0,0 +1,8 @@
describe('Sanity Test', () => {
test('how many marbles?', () => {
const expectedMarbles = 4
const actualMarbles = 2 + 2
expect(actualMarbles).toEqual(expectedMarbles)
})
})