We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fabe7 commit b981441Copy full SHA for b981441
test/databases.test.js
@@ -1028,6 +1028,13 @@ const HasManyDissociator = require('../src/services/has-many-dissociator');
1028
it('should handle numbers over MAX_SAFE_INTEGER', async () => {
1029
expect.assertions(2);
1030
const { models, sequelizeOptions } = initializeSequelize();
1031
+
1032
+ // HACK: sequelize-fixtures does not support BigInt in json files,
1033
+ // so we need to update the clicks value manually
1034
+ const counter = await models.counter.findByPk(10);
1035
+ counter.clicks = BigInt('9013084467599484828'); // eslint-disable-line no-undef
1036
+ await counter.save();
1037
1038
const params = {
1039
fields: {
1040
counter: 'id,clicks',
0 commit comments