File size: 254 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { login } from './lib/login.ts'
import { GraphQL } from './lib/graphql.ts'
import { check } from 'k6'

export default function (): void {
  const gql = new GraphQL(login())

  check(gql.userID, {
    'userID is not empty': (u) => u !== '',
  })
}