I hereby claim:
- I am aptiko on github.
- I am aptiko (https://keybase.io/aptiko) on keybase.
- I have a public key ASBD6_RbRJXGmepWnYO3o4T_r-jx8vISvrvHrAnQ0mIZIwo
To claim this, I am signing this object:
import { mount } from '@vue/test-utils' | |
import Navbar from '@/components/Navbar.vue' | |
describe('Navbar', () => { | |
test('gets loggedOnUser from store', () => { | |
const wrapper = mount(Navbar) | |
wrapper.vm.$store.commit('setLoggedOnUser', 'alice') | |
expect(wrapper.vm.loggedOnUser).toBe('alice') | |
}) | |
}) |
QUERY PLAN | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Limit (cost=0.28..2.50 rows=1 width=8) (actual time=0.119..0.119 rows=1 loops=1) | |
-> Custom Scan (ChunkAppend) on enhydris_timeseriesrecord (cost=0.28..2.50 rows=1 width=8) (actual time=0.118..0.118 rows=1 loops=1) | |
Order: enhydris_timeseriesrecord."timestamp" DESC | |
-> Index Only Scan Backward using "1254_1254_enhydris_timeseriesrecord_pk" on _hyper_1_1254_chunk (cost=0.28..2.50 rows=1 width=8) (actual time=0.039..0.039 rows=0 loops=1) | |
Index Cond: (timeseries_id = 6661) | |
Heap Fetches: 0 | |
-> Index Only Scan Backward using "1253_1253_enhydris_timeseriesrecord_pk" on _hyper_1_1253 |
QUERY PLAN | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Sort (cost=81686.50..83123.40 rows=574762 width=12) (actual time=294.183..352.196 rows=564469 loops=1) | |
Sort Key: _hyper_1_1254_chunk."timestamp" DESC | |
Sort Method: external merge Disk: 14408kB | |
-> Append (cost=0.28..20948.68 rows=574762 width=12) (actual time=0.028..159.398 rows=564469 loops=1) | |
-> Index Only Scan Backward using "1254_1254_enhydris_timeseriesrecord_pk" on _hyper_1_1254_chunk (cost=0.28..2.50 rows=1 width=12) (actual time=0.010..0.010 rows=0 loops=1) | |
Index Cond: (timeseries_id = 6661) | |
Heap Fetches: 0 | |
-> Index Scan using _hyper_1_1253_ch |
I hereby claim:
To claim this, I am signing this object:
mouse_position = new ol.control.MousePosition({ | |
coordinateFormat: ol.coordinate.createStringXY(4), | |
projection: ‘EPSG:4326’ | |
}) |