Skip to content

Instantly share code, notes, and snippets.

View julnarot's full-sized avatar
🌌
Vacations

Raul Jonatan julnarot

🌌
Vacations
View GitHub Profile
@julnarot
julnarot / gist:42aa1745b2a1ca0c72ac4661078c6afe
Last active July 1, 2023 06:52
NbDialogService and NbDialgoRef basic Jasmine Unit testing - Dialog Angular UI Component
// Component that launches the modal test file
describe('CheckListContainerComponent', () => {
...
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [
NbThemeModule.forRoot(),
NbDialogModule.forRoot(),
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/funnel.js"></script>
<div id="bar-captacion" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
<div id="funner-captacion" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
class PollsTest(LiveServerTestCase):
def setUp(self):
self.browser = webdriver.Firefox()
self.browser.implicitly_wait(3)
def tearDown(self):
self.browser.quit()
def test_can_create_new_poll_via_admin_site(self):
@julnarot
julnarot / gist:9530994
Last active October 24, 2023 15:42
pom.xml
<properties>
<!-- Generic properties -->
<java.version>1.6</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Spring -->
<spring-framework.version>4.0.2.RELEASE</spring-framework.version>