fix: mockedDate in e2e
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
eb59efbb85
commit
d77730dd47
|
@ -24,7 +24,7 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Self.setSaleQuantity = async(saleId, quantity) => {
|
Self.setSaleQuantity = async(saleId, quantity, options) => {
|
||||||
const models = Self.app.models;
|
const models = Self.app.models;
|
||||||
const myOptions = {};
|
const myOptions = {};
|
||||||
let tx;
|
let tx;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import Puppeteer from 'puppeteer';
|
import Puppeteer from 'puppeteer';
|
||||||
import {extendPage} from './extensions';
|
import {extendPage} from './extensions';
|
||||||
import {url as defaultURL} from './config';
|
import {url as defaultURL} from './config';
|
||||||
import 'vn-loopback/server/boot/date.js';
|
|
||||||
|
|
||||||
export async function getBrowser() {
|
export async function getBrowser() {
|
||||||
const args = [
|
const args = [
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
require('@babel/register')({presets: ['@babel/env']});
|
require('@babel/register')({presets: ['@babel/env']});
|
||||||
require('core-js/stable');
|
require('core-js/stable');
|
||||||
require('regenerator-runtime/runtime');
|
require('regenerator-runtime/runtime');
|
||||||
|
require('vn-loopback/server/boot/date')();
|
||||||
|
|
||||||
const axios = require('axios');
|
const axios = require('axios');
|
||||||
const Docker = require('../../db/docker.js');
|
const Docker = require('../../db/docker.js');
|
||||||
|
|
Loading…
Reference in New Issue