Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Document クラスのテスト
- */
- describe('Document オブジェクトは', function() {
- it('getElementById メソッドで特定の ID を持つ DOM オブジェクトを取得する事ができる', function() {
- var elementId = 'test-node';
- expect(document.getElementById(elementId)).not.toBeNull();
- });
- });
Add Comment
Please, Sign In to add comment