text: /**
   * @file test/tasks/sql/tables/topic-statistics-mat.spec.js
   */
  'use strict';
  
  const test       = require('ava');
  const proxyquire = require('proxyquire');
  const sinon      = require('sinon');
  
  const stubs = {
    '../../../utils/sql-task': sinon.stub().resolves()
  };
  
  const include = proxyquire('../../../../bin/tasks/sql/tables/topic-statistics-mat', stubs);
  
  test('should create `topic_statistics_mat` table', async t => {
    const context = {
      env: {
        PANTHERA_API_USER: 'user'
      }
    };
  
    await t.notThrows(() => include.task(context));
  });
  