Skip to content

Commit 8dac465

Browse files
committed
pwn_sast Driver - Incorporate new SAST module PWN::SAST::TypeScriptTypeJuggling #add_spec
1 parent 80e2639 commit 8dac465

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# frozen_string_literal: true
2+
3+
require 'spec_helper'
4+
5+
describe PWN::SAST::TypeScriptTypeJuggling do
6+
it 'scan method should exist' do
7+
scan_response = PWN::SAST::TypeScriptTypeJuggling
8+
expect(scan_response).to respond_to :scan
9+
end
10+
11+
it 'should display information for security_references' do
12+
security_references_response = PWN::SAST::TypeScriptTypeJuggling
13+
expect(security_references_response).to respond_to :security_references
14+
end
15+
16+
it 'should display information for authors' do
17+
authors_response = PWN::SAST::TypeScriptTypeJuggling
18+
expect(authors_response).to respond_to :authors
19+
end
20+
21+
it 'should display information for existing help method' do
22+
help_response = PWN::SAST::TypeScriptTypeJuggling
23+
expect(help_response).to respond_to :help
24+
end
25+
end

0 commit comments

Comments
 (0)