-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JasonLantz
committed
Jan 8, 2017
1 parent
35d3357
commit 853d860
Showing
12 changed files
with
108 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ build/dev* | |
build/dist* | ||
npm_scripts/*.js | ||
yarn.lock | ||
coverage |
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
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 was deleted.
Oops, something went wrong.
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,24 @@ | ||
import expect from 'expect'; | ||
import expectJSX from 'expect-jsx'; | ||
import React from 'react'; | ||
import TestUtils from 'react-addons-test-utils'; | ||
import AlertList from '../../src/js/AlertList'; | ||
import { shallow } from 'enzyme'; | ||
import { jsdom } from 'jsdom'; | ||
|
||
expect.extend(expectJSX); | ||
|
||
describe('AlertList', () => { | ||
describe('Basic AlertList Test', () => { | ||
beforeEach(function() { | ||
global.window = jsdom(undefined, { url: 'about:blank' }).defaultView; | ||
global.document = global.window.document; | ||
this.wrapper = shallow(<AlertList>Test Alert</AlertList>); | ||
}); | ||
|
||
it('should render the Alert', function() { | ||
expect(this.wrapper.node.type).toEqual('ul'); | ||
}); | ||
|
||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.